X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ca41e57f48db4c1a2de7ae67c7e4b655d9809af..d851f77ec18370a5f664ef2fbe46ad00665f7370:/include/wx/gtk1/frame.h?ds=sidebyside diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index 38f27d5375..4e02f06324 100644 --- a/include/wx/gtk1/frame.h +++ b/include/wx/gtk1/frame.h @@ -18,6 +18,7 @@ #include "wx/defs.h" #include "wx/object.h" #include "wx/window.h" +#include "wx/icon.h" //----------------------------------------------------------------------------- // classes @@ -62,8 +63,14 @@ 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"); virtual wxStatusBar *OnCreateStatusBar( int number, long style, wxWindowID id, @@ -95,12 +102,11 @@ 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 virtual void GtkOnSize( int x, int y, int width, int height ); - virtual void ImplementSetPosition(); virtual wxPoint GetClientAreaOrigin() const; void DoMenuUpdates(); void DoMenuUpdates(wxMenu* menu); @@ -110,6 +116,7 @@ public: wxToolBar *m_frameToolBar; wxString m_title; wxIcon m_icon; + int m_miniEdge,m_miniTitle; DECLARE_EVENT_TABLE() };