]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/laywin.h
In DialogEd, changed Close to Destroy to make it shut down properly.
[wxWidgets.git] / include / wx / generic / laywin.h
index 8383855e1b27daf729d704d3a1346e990d50e866..b6e89527cdf2a38023843c4bfeb52113970effc7 100644 (file)
@@ -174,7 +174,7 @@ public:
     bool LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* rect = (wxRect*) NULL);
 
     // mainWindow is sized to whatever's left over.
-    bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow);
+    bool LayoutFrame(wxFrame* frame, wxWindow* mainWindow = (wxWindow*) NULL);
 };
 
 #endif