(void)Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create( wxWindow *parent,
wxWindowID id,
const wxString& title,
wxMDIClientWindow *m_clientWindow;
bool m_justInserted;
- virtual void GtkOnSize( int x, int y, int width, int height );
+ virtual void GtkOnSize();
virtual void OnInternalIdle();
protected:
void Init();
-
- virtual void DoGetClientSize(int *width, int *height) const;
+ virtual bool HasVisibleMenubar() const;
private:
friend class wxMDIChildFrame;
#endif // wxUSE_TOOLBAR
// no icon
- virtual void SetIcon(const wxIcon& icon)
- { wxTopLevelWindowBase::SetIcon(icon); }
virtual void SetIcons(const wxIconBundle& icons )
{ wxTopLevelWindowBase::SetIcons(icons); }
virtual bool IsTopLevel() const { return false; }
+ virtual bool Destroy();
+
void OnActivate( wxActivateEvent& event );
void OnMenuHighlight( wxMenuEvent& event );
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
- virtual void DoSetClientSize(int width, int height);
- virtual void DoGetClientSize( int *width, int *height ) const;
private:
DECLARE_EVENT_TABLE()
public:
wxMDIClientWindow();
wxMDIClientWindow( wxMDIParentFrame *parent, long style = 0 );
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
virtual bool CreateClient( wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL );
private: