X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb1585ae85bc09432ae4c1afd805fb4aebf6e0c8..0dbd6262a9ee7d735fb3930707346298f71b2cb7:/include/wx/gtk/frame.h?ds=sidebyside diff --git a/include/wx/gtk/frame.h b/include/wx/gtk/frame.h index 34494a92b5..05796513d9 100644 --- a/include/wx/gtk/frame.h +++ b/include/wx/gtk/frame.h @@ -62,10 +62,13 @@ public: virtual void Centre( int direction = wxHORIZONTAL ); virtual void GetClientSize( int *width, int *height ) const; + wxSize GetClientSize() const { int w, h; GetClientSize(& w, & h); return wxSize(w, h); } + virtual void SetClientSize( int const width, int const height ); virtual void SetSize( int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO ); + virtual void SetSize( int width, int height ); virtual wxStatusBar* CreateStatusBar(int number=1, long style = wxST_SIZEGRIP, wxWindowID id = 0, const wxString& name = "statusBar"); @@ -98,7 +101,7 @@ public: void OnActivate( wxActivateEvent &WXUNUSED(event) ) { } // called from docview.cpp void OnSize( wxSizeEvent &event ); void OnCloseWindow( wxCloseEvent& event ); - void OnIdle(wxIdleEvent& event); + void OnIdle(wxIdleEvent& event ); // implementation @@ -112,6 +115,7 @@ public: wxToolBar *m_frameToolBar; wxString m_title; wxIcon m_icon; + int m_miniEdge,m_miniTitle; DECLARE_EVENT_TABLE() };