]> git.saurik.com Git - wxWidgets.git/commitdiff
Reverted accidental commit.
authorMattia Barbon <mbarbon@cpan.org>
Tue, 7 Jan 2003 15:17:40 +0000 (15:17 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Tue, 7 Jan 2003 15:17:40 +0000 (15:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/dialog.cpp

index bb4a45ea2ff1e3d739c5016a4346b9272fe78561..5fdd39cb9fdfe59a43528735d581ce51d7e1654a 100644 (file)
@@ -352,8 +352,7 @@ int wxDialog::ShowModal()
     XSync(XtDisplay((Widget) wxTheApp->GetTopLevelWidget()), FALSE);
     while (XtAppPending((XtAppContext) wxTheApp->GetAppContext()))
     {
-        // MBN: is this necessary? why?
-        // XFlush(XtDisplay((Widget) wxTheApp->GetTopLevelWidget()));
+        XFlush(XtDisplay((Widget) wxTheApp->GetTopLevelWidget()));
         XtAppNextEvent((XtAppContext) wxTheApp->GetAppContext(), &event);
 
         wxTheApp->ProcessXEvent((WXEvent*) &event);