X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61c083e7818114734695cb26aa006098a86e62c3..fd6c94288f31c06d4ad3c7d7ab17ed2e32b16b33:/include/wx/notebook.h diff --git a/include/wx/notebook.h b/include/wx/notebook.h index 6dbfbe7d82..0ba429a919 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -41,7 +41,11 @@ enum typedef wxWindow wxNotebookPage; // so far, any window can be a page -#define wxNOTEBOOK_NAME _T("notebook") +WXDLLEXPORT_DATA(extern const wxChar*) wxNotebookNameStr; + +#if WXWIN_COMPATIBILITY_2_4 + #define wxNOTEBOOK_NAME wxNotebookNameStr +#endif // ---------------------------------------------------------------------------- // wxNotebookBase: define wxNotebook interface @@ -60,7 +64,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, - const wxString& name = wxNOTEBOOK_NAME) ; + const wxString& name = wxNotebookNameStr) ; // wxNotebook-specific additions to wxBookCtrlBase interface // ---------------------------------------------------------