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)
// 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:
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 ;