X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfc6fde4b1dd5bfd8ae22839ff9a69cf24eb9120..b59ff3c9c8d59c2c4e0291b964d349c9df839894:/include/wx/gtk/window.h?ds=sidebyside diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 8e0eeacfe7..e63d825e61 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -30,7 +30,7 @@ //----------------------------------------------------------------------------- extern const char *wxFrameNameStr; -extern wxList wxTopLevelWindows; +extern wxWindowList wxTopLevelWindows; //----------------------------------------------------------------------------- // global function @@ -420,6 +420,9 @@ public: virtual void OnInternalIdle(); + // For compatibility across platforms (not in event table) + void OnIdle(wxIdleEvent& WXUNUSED(event)) {}; + /* used by all classes in the widget creation process */ void PreCreation( wxWindow *parent, wxWindowID id, const wxPoint &pos, @@ -532,6 +535,9 @@ public: virtual void GetPositionConstraint(int *x, int *y) const ; protected: + // common part of all ctors + void Init(); + // this is the virtual function to be overriden in any derived class which // wants to change how SetSize() or Move() works - it is called by all // versions of these functions in the base class