X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/789d0a3dd9c297a906f948b9a2bcb75e99ef0000..c1cb24a46088fe648eabf5bf12cda8d2779c734f:/include/wx/gtk/notebook.h diff --git a/include/wx/gtk/notebook.h b/include/wx/gtk/notebook.h index 9d217c1fe2..454cf9f01e 100644 --- a/include/wx/gtk/notebook.h +++ b/include/wx/gtk/notebook.h @@ -76,10 +76,10 @@ public: // sets the size of the tabs (assumes all tabs are the same size) void SetTabSize(const wxSize& sz); + virtual int HitTest(const wxPoint& pt, long *flags = NULL) const; + // operations // ---------- - // remove one page from the notebook - bool DeletePage(size_t nPage); // remove all pages bool DeleteAllPages(); @@ -96,6 +96,10 @@ public: // -------------------------- void OnNavigationKey(wxNavigationKeyEvent& event); + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); + // implementation // -------------- @@ -104,7 +108,8 @@ public: bool DoPhase(int phase); #endif - void ApplyWidgetStyle(); + // set all page's attributes + void DoApplyWidgetStyle(GtkRcStyle *style); // report if window belongs to notebook bool IsOwnGtkWindow( GdkWindow *window );