]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/mdi.h
added wxSpinCtrlDouble (slightly modified patch 1835864)
[wxWidgets.git] / include / wx / msw / mdi.h
index 8366985ec7e09447839b269b7e3d08afc9a3c2a0..66d9b4c33da72272ee0c193e19e2300c0fc6c793 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/frame.h"
 
-extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
 class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
@@ -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);