[PATCH setup] Make any MessageBox shown by the GuiParseFeedback class modal to the progress page

Jon Turney jon.turney@dronecode.org.uk
Tue Jan 23 17:23:00 GMT 2018


---
 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



More information about the Cygwin-apps mailing list