]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/mdi.h
Wrong Init was being called in ctor.
[wxWidgets.git] / include / wx / msw / mdi.h
index 397ab3f1ddd91c7cf2f2e1ff823f10c47715dbd9..8beb8f19147617054fc78757b7134c3647044647 100644 (file)
@@ -142,8 +142,10 @@ public:
                 long style = wxDEFAULT_FRAME_STYLE,
                 const wxString& name = wxFrameNameStr);
 
                 long style = wxDEFAULT_FRAME_STYLE,
                 const wxString& name = wxFrameNameStr);
 
+    virtual bool IsTopLevel() const { return FALSE; }
+    
     // MDI operations
     // MDI operations
-    virtual void Maximize();
+    virtual void Maximize(bool maximize = TRUE);
     virtual void Restore();
     virtual void Activate();
 
     virtual void Restore();
     virtual void Activate();