X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43a18898651f71010606d8682fdf88cfc1c02193..d851f77ec18370a5f664ef2fbe46ad00665f7370:/include/wx/gtk1/frame.h diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index c87f59f47c..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,6 +63,8 @@ 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, @@ -99,7 +102,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 @@ -113,6 +116,7 @@ public: wxToolBar *m_frameToolBar; wxString m_title; wxIcon m_icon; + int m_miniEdge,m_miniTitle; DECLARE_EVENT_TABLE() };