X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..3b8b8024a01220cc4c72b69ac16c6e606f260b74:/include/wx/bookctrl.h diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 181946ae04..e864221cad 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -54,7 +54,7 @@ enum // wxBookCtrlBase // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxBookCtrlBase : public wxControl +class WXDLLIMPEXP_CORE wxBookCtrlBase : public wxControl { public: // construction @@ -96,7 +96,6 @@ public: virtual size_t GetPageCount() const { return m_pages.size(); } // get the panel which represents the given page - wxWindow *GetPage(size_t n) { return m_pages[n]; } wxWindow *GetPage(size_t n) const { return m_pages[n]; } // get the current page or NULL if none @@ -233,6 +232,9 @@ public: // we don't want focus for ourselves virtual bool AcceptsFocus() const { return false; } + // returns true if the platform should explicitly apply a theme border + virtual bool CanApplyThemeBorder() const { return false; } + protected: // flags for DoSetSelection() enum @@ -240,6 +242,9 @@ protected: SetSelection_SendEvent = 1 }; + // choose the default border for this window + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + // set the selection to the given page, sending the events (which can // possibly prevent the page change from taking place) if SendEvent flag is // included @@ -339,7 +344,7 @@ private: // wxBookCtrlBaseEvent: page changing events generated by derived classes // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxBookCtrlBaseEvent : public wxNotifyEvent +class WXDLLIMPEXP_CORE wxBookCtrlBaseEvent : public wxNotifyEvent { public: wxBookCtrlBaseEvent(wxEventType commandType = wxEVT_NULL, int winid = 0,