This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
[PATCH setup] Make any MessageBox shown by the GuiParseFeedback class modal to the progress page
- From: Jon Turney <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Cc: Jon Turney <jon dot turney at dronecode dot org dot uk>
- Date: Tue, 23 Jan 2018 17:23:00 +0000
- Subject: [PATCH setup] Make any MessageBox shown by the GuiParseFeedback class modal to the progress page
- Authentication-results: sourceware.org; auth=none
---
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