virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO)
{ wxWindow::SetSize(rect, sizeFlags); }
virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); }
+ virtual void SetSize(int width, int height) { SetSize(-1, -1, width, height, wxSIZE_USE_EXISTING); }
void ClientToScreen(int *x, int *y) const;
wxPoint ClientToScreen(const wxPoint& pt) const { return wxWindow::ClientToScreen(pt); }
const wxString& name);
// Create toolbar
+#if wxUSE_TOOLBAR
virtual wxToolBar* CreateToolBar(long style = wxNO_BORDER|wxTB_HORIZONTAL, wxWindowID id = -1, const wxString& name = wxToolBarNameStr);
virtual wxToolBar *OnCreateToolBar(long style, wxWindowID id, const wxString& name);
// If made known to the frame, the frame will manage it automatically.
virtual void SetToolBar(wxToolBar *toolbar) ;
virtual wxToolBar *GetToolBar() const ;
virtual void PositionToolBar();
+#endif // wxUSE_TOOLBAR
// Set status line text
virtual void SetStatusText(const wxString& text, int number = 0);
// Compatibility
inline bool Iconized() const { return IsIconized(); }
+ // Is the frame maximized? Returns FALSE under Motif (but TRUE for
+ // wxMDIChildFrame due to the tabbed implementation).
+ virtual bool IsMaximized(void) const ;
+
virtual void Maximize(bool maximize);
// Responds to colour changes
wxIcon m_icon;
bool m_iconized;
static bool m_useNativeStatusBar;
+
+#if wxUSE_TOOLBAR
wxToolBar * m_frameToolBar ;
+#endif // wxUSE_TOOLBAR
//// Motif-specific