public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [PATCH setup] Make any MessageBox shown by the GuiParseFeedback class modal to the progress page
@ 2018-01-23 17:23 Jon Turney
  0 siblings, 0 replies; only message in thread
From: Jon Turney @ 2018-01-23 17:23 UTC (permalink / raw)
  To: cygwin-apps; +Cc: Jon Turney

---
 ini.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ini.cc b/ini.cc
index e9152ec..87443a8 100644
--- a/ini.cc
+++ b/ini.cc
@@ -108,11 +108,11 @@ public:
     }
   virtual void warning (const std::string& message)const
     {
-      mbox (0, message.c_str (), "Warning", 0);
+      mbox (Progress.GetHWND(), message.c_str (), "Warning", 0);
     }
   virtual void error (const std::string& message)const
     {
-      mbox (0, message.c_str (), "Parse Errors", 0);
+      mbox (Progress.GetHWND(), message.c_str (), "Parse Errors", 0);
     }
   virtual ~ GuiParseFeedback ()
     {
-- 
2.15.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-23 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 17:23 [PATCH setup] Make any MessageBox shown by the GuiParseFeedback class modal to the progress page Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).