X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/992ea4068c9cd01151483e8a152d4824c5d3a18a..a0393f972507cfb8e6286294f12d74e8d3bdb228:/include/wx/gtk/window.h diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 34a1364f06..9a1efc1cc8 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -204,6 +204,7 @@ public: // Called when m_widget becomes realized. Derived classes must call the // base class method if they override it. virtual void GTKHandleRealized(); + void GTKHandleUnrealize(); protected: // for controls composed of multiple GTK widgets, return true to eliminate @@ -356,9 +357,6 @@ protected: virtual void DoSetToolTip( wxToolTip *tip ); #endif // wxUSE_TOOLTIPS - // common part of all ctors (not virtual because called from ctor) - void Init(); - // Create a GtkScrolledWindow containing the given widget (usually // m_wxwindow but not necessarily) and assigns it to m_widget. Also shows // the widget passed to it. @@ -403,6 +401,8 @@ protected: void ConstrainSize(); private: + void Init(); + enum ScrollUnit { ScrollUnit_Line, ScrollUnit_Page, ScrollUnit_Max }; // common part of ScrollLines() and ScrollPages() and could be used, in the