- virtual void SetStatusWidths( int n, int *width );
- wxStatusBar *GetStatusBar(void);
- wxMenuBar *GetMenuBar(void);
- void SetTitle( const wxString &title );
- wxString GetTitle(void) const;
- void OnActivate( wxActivateEvent &WXUNUSED(event) ) {};
- void OnIdle( wxIdleEvent &event );
-
- //private:
-
- void GtkOnSize( int x, int y, int width, int height );
- void DoMenuUpdates(void);
- void DoMenuUpdates(wxMenu* menu);
-
- private:
-
- friend wxWindow;
+ virtual void SetStatusWidths( int n, const int widths_field[] );
+#endif // wxUSE_STATUSBAR
+
+#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 );
+ virtual wxToolBar *GetToolBar() const;
+ void SetToolBar(wxToolBar *toolbar);
+#endif // wxUSE_TOOLBAR
+
+ virtual void SetMenuBar( wxMenuBar *menuBar );
+ virtual wxMenuBar *GetMenuBar() const;
+
+ virtual void SetTitle( const wxString &title );
+ virtual wxString GetTitle() const { return m_title; }
+
+ // make the window modal (all other windows unresponsive)
+ virtual void MakeModal(bool modal = TRUE);
+
+ virtual void SetIcon( const wxIcon &icon );
+ bool Iconized() const { return IsIconized(); }
+ virtual void Maximize( bool maximize );
+ virtual void Restore();
+ virtual void Iconize( bool iconize );
+ virtual bool IsIconized() const;
+
+ virtual void Command( int id );