X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b0d053c1eac3100e02468c73798111028819ad0a..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/gtk/window.h?ds=inline diff --git a/include/wx/gtk/window.h b/include/wx/gtk/window.h index 4e4185787b..29b7311b70 100644 --- a/include/wx/gtk/window.h +++ b/include/wx/gtk/window.h @@ -184,11 +184,6 @@ public: static wxLayoutDirection GTKGetLayout(GtkWidget *widget); static void GTKSetLayout(GtkWidget *widget, wxLayoutDirection dir); - // return true if this window must have a non-NULL parent, false if it can - // be created without parent (normally only top level windows but in wxGTK - // there is also the exception of wxMenuBar) - virtual bool GTKNeedsParent() const { return !IsTopLevel(); } - // This is called when capture is taken from the window. It will // fire off capture lost events. void GTKReleaseMouseAndNotify(); @@ -316,8 +311,6 @@ public: wxRegion m_nativeUpdateRegion; // not transformed for RTL bool m_dirtyTabOrder:1; // tab order changed, GTK focus // chain needs update - bool m_needsStyleChange:1; // May not be able to change - // background style until OnIdle bool m_mouseButtonDown:1; bool m_showOnIdle:1; // postpone showing the window until idle @@ -404,6 +397,11 @@ protected: private: void Init(); + // return true if this window must have a non-NULL parent, false if it can + // be created without parent (normally only top level windows but in wxGTK + // there is also the exception of wxMenuBar) + virtual bool GTKNeedsParent() const { return !IsTopLevel(); } + enum ScrollUnit { ScrollUnit_Line, ScrollUnit_Page, ScrollUnit_Max }; // common part of ScrollLines() and ScrollPages() and could be used, in the