X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfc6fde4b1dd5bfd8ae22839ff9a69cf24eb9120..f924129679e25bdc0bb8d4accf47bc420d4b802d:/include/wx/motif/mdi.h?ds=inline diff --git a/include/wx/motif/mdi.h b/include/wx/motif/mdi.h index 26376b2c61..143596828a 100644 --- a/include/wx/motif/mdi.h +++ b/include/wx/motif/mdi.h @@ -78,7 +78,7 @@ public: wxMDIChildFrame *GetActiveChild() const ; // Get the client window - inline wxMDIClientWindow *GetClientWindow() const { return m_clientWindow; }; + wxMDIClientWindow *GetClientWindow() const { return m_clientWindow; }; // Create the client window class (don't Create the window, // just return a new class) @@ -104,6 +104,12 @@ public: // Redirect events to active child first virtual bool ProcessEvent(wxEvent& event); +protected: + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO); + virtual void DoSetClientSize(int width, int height); + protected: @@ -145,8 +151,7 @@ public: void SetMenuBar(wxMenuBar *menu_bar); void SetTitle(const wxString& title); - void SetClientSize(int width, int height); - void GetClientSize(int *width, int *height); + void GetClientSize(int *width, int *height) const; void GetSize(int *width, int *height) const; void GetPosition(int *x, int *y) const ;