X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43a18898651f71010606d8682fdf88cfc1c02193..90186e524e347a3a779c928a44fb7d744b3efcf7:/include/wx/gtk1/frame.h diff --git a/include/wx/gtk1/frame.h b/include/wx/gtk1/frame.h index c87f59f47c..2265c07ffb 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,6 @@ public: void OnActivate( wxActivateEvent &WXUNUSED(event) ) { } // called from docview.cpp void OnSize( wxSizeEvent &event ); void OnCloseWindow( wxCloseEvent& event ); - void OnIdle(wxIdleEvent& event); // implementation @@ -108,11 +110,14 @@ public: void DoMenuUpdates(); void DoMenuUpdates(wxMenu* menu); + virtual void OnInternalIdle(); + wxMenuBar *m_frameMenuBar; wxStatusBar *m_frameStatusBar; wxToolBar *m_frameToolBar; wxString m_title; wxIcon m_icon; + int m_miniEdge,m_miniTitle; DECLARE_EVENT_TABLE() };