- // create a new frame, return FALSE if it couldn't be created
- bool CreateFrame(const wxString& title,
- const wxPoint& pos,
- const wxSize& size);
-
- // create a new dialog using the given dialog template from resources,
- // return FALSE if it couldn't be created
- bool CreateDialog(const wxString& title,
- const wxPoint& pos,
- const wxSize& size);
-
- // is the frame currently iconized?
+ // set the icon for the window
+ void DoSetIcon( const wxIcon& icon );
+
+ // For implementation purposes - sometimes decorations make the
+ // client area smaller
+ virtual wxPoint GetClientAreaOrigin() const;
+
+ // For implementation of delayed resize events
+ bool m_needResizeInIdle;
+ virtual void OnInternalIdle();
+
+ virtual void DoGetClientSize( int *width, int *height ) const;
+ virtual void DoGetSize( int *width, int *height ) const;
+ virtual void DoSetClientSize(int width, int height);
+ virtual void DoSetSize(int x, int y,
+ int width, int height,
+ int sizeFlags = wxSIZE_AUTO);
+ virtual void DoGetPosition( int *x, int *y ) const;
+
+ // Is the frame currently iconized?