]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/mdi.h
Compilation fix.
[wxWidgets.git] / include / wx / msw / mdi.h
index 93cede426a321f60fac4e70834b14a37ac2990ed..66d9b4c33da72272ee0c193e19e2300c0fc6c793 100644 (file)
@@ -162,6 +162,11 @@ public:
     // Implementation only from now on
     // -------------------------------
 
+    wxMDIParentFrame* GetMDIParent() const
+    {
+        return wxStaticCast(wxFrame::GetParent(), wxMDIParentFrame);
+    }
+
     // Handlers
     bool HandleMDIActivate(long bActivate, WXHWND, WXHWND);
     bool HandleWindowPosChanging(void *lpPos);