virtual void Iconize(bool iconize = TRUE);
virtual bool IsIconized() const;
virtual void SetIcon(const wxIcon& icon);
+ virtual void SetIcons(const wxIconBundle& icons);
virtual void Restore();
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
// from both DoSetSize() and DoSetClientSize()
virtual void DoMoveWindow(int x, int y, int width, int height);
+ // set the icon for this window
+ void DoSetIcon( const wxIcon& icon );
+
// GTK callbacks
virtual void GtkOnSize( int x, int y, int width, int height );
virtual void OnInternalIdle();
long m_fsSaveGdkFunc, m_fsSaveGdkDecor;
long m_fsSaveFlag;
wxRect m_fsSaveFrame;
-
- long m_gdkFunc, m_gdkDecor; // m_windowStyle translated to GDK's terms
+
+ // m_windowStyle translated to GDK's terms
+ long m_gdkFunc,
+ m_gdkDecor;
protected:
// common part of all ctors
void Init();
+ // focus event handler
+ void OnSetFocus(wxFocusEvent& event);
+
// override wxWindow methods to take into account tool/menu/statusbars
virtual void DoSetSize(int x, int y,
int width, int height,
// is the frame currently iconized?
bool m_isIconized;
+
+ DECLARE_EVENT_TABLE()
};
#endif // __GTKTOPLEVELH__