X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/408776d0347b651ab4b00c2d613f8e51b1985a91..d8efd2198ff050ca5a5726bcad0f42692fe872df:/interface/wx/mdi.h diff --git a/interface/wx/mdi.h b/interface/wx/mdi.h index dbb43f994b..83627cd2c3 100644 --- a/interface/wx/mdi.h +++ b/interface/wx/mdi.h @@ -25,7 +25,7 @@ be overridden in order to give an opportunity to use a different class of client window. - Under Windows 95, the client window will automatically have a sunken border style + Under wxMSW, the client window will automatically have a sunken border style when the active child is not maximized, and no border style when a child is maximized. @library{wxcore} @@ -157,7 +157,7 @@ public: @remarks - Under Windows 95, the client window will automatically have a sunken + Under wxMSW, the client window will automatically have a sunken border style when the active child is not maximized, and no border style when a child is maximized. @@ -234,14 +234,14 @@ public: If there are any children at all this function returns a non-@NULL pointer. */ - wxMDIChildFrame* GetActiveChild() const; + virtual wxMDIChildFrame* GetActiveChild() const; /** Returns a pointer to the client window. @see OnCreateClient() */ - wxWindow *GetClientWindow() const; + wxMDIClientWindowBase* GetClientWindow() const; /** Returns the current MDI Window menu. @@ -281,7 +281,7 @@ public: @code frame = new MyParentFrame; - frame->Create(parent, myParentFrameId, wxT("My Parent Frame")); + frame->Create(parent, myParentFrameId, "My Parent Frame"); @endcode @remarks @@ -315,7 +315,7 @@ public: @param menu The menu to be used instead of the standard MDI Window menu or @NULL. */ - void SetWindowMenu(wxMenu *menu); + virtual void SetWindowMenu(wxMenu* menu); /** Tiles the MDI child windows either horizontally or vertically depending