X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..e16514bf08d65e85cc5886108a7b038c7bddd952:/include/wx/notebook.h?ds=sidebyside diff --git a/include/wx/notebook.h b/include/wx/notebook.h index 74fcc220cc..fe22a53056 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -37,7 +37,7 @@ enum typedef wxWindow wxNotebookPage; // so far, any window can be a page -extern WXDLLEXPORT_DATA(const wxChar*) wxNotebookNameStr; +extern WXDLLEXPORT_DATA(const wxChar) wxNotebookNameStr[]; #if WXWIN_COMPATIBILITY_2_4 #define wxNOTEBOOK_NAME wxNotebookNameStr @@ -90,14 +90,6 @@ public: // On platforms that support it, get the theme page background colour, else invalid colour virtual wxColour GetThemeBackgroundColour() const { return wxNullColour; } - - // Reserved for future use - virtual void ReservedNotebookFunc1() {} - virtual void ReservedNotebookFunc2() {} - virtual void ReservedNotebookFunc3() {} - virtual void ReservedNotebookFunc4() {} - virtual void ReservedNotebookFunc5() {} - protected: DECLARE_NO_COPY_CLASS(wxNotebookBase) }; @@ -115,8 +107,15 @@ public: { } + wxNotebookEvent(const wxNotebookEvent& event) + : wxBookCtrlBaseEvent(event) + { + } + + virtual wxEvent *Clone() const { return new wxNotebookEvent(*this); } + private: - DECLARE_DYNAMIC_CLASS_NO_COPY(wxNotebookEvent) + DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxNotebookEvent) }; BEGIN_DECLARE_EVENT_TYPES() @@ -145,8 +144,10 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&); #include "wx/msw/notebook.h" #elif defined(__WXMOTIF__) #include "wx/generic/notebook.h" -#elif defined(__WXGTK__) +#elif defined(__WXGTK20__) #include "wx/gtk/notebook.h" +#elif defined(__WXGTK__) + #include "wx/gtk1/notebook.h" #elif defined(__WXMAC__) #include "wx/mac/notebook.h" #elif defined(__WXCOCOA__)