]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
Always invoke default action even if dclick is caught from wxListBox (as per wxMSW...
[wxWidgets.git] / src / gtk / dialog.cpp
index fe9a0036c2ccfc19736164db2c7bdc283f220439..7a4f9e300917bb366ccd89d5e8bf495456d54c8e 100644 (file)
@@ -66,6 +66,9 @@ bool wxDialog::Show( bool show )
         EndModal( wxID_CANCEL );
     }
 
+    if (show && CanDoLayoutAdaptation())
+        DoLayoutAdaptation();
+
     bool ret = wxWindow::Show( show );
 
     if (show) InitDialog();