X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed2fbeb835854c97d176f8bdfd6f06a84273f5d7..c9c023ddeb1ba8d5c50b8a2d7718b1dd18665b2b:/src/xrc/xh_notbk.cpp?ds=sidebyside diff --git a/src/xrc/xh_notbk.cpp b/src/xrc/xh_notbk.cpp index 7c0217f9c8..01a280ef26 100644 --- a/src/xrc/xh_notbk.cpp +++ b/src/xrc/xh_notbk.cpp @@ -40,13 +40,12 @@ wxNotebookXmlHandler::wxNotebookXmlHandler() XRC_ADD_STYLE(wxBK_TOP); XRC_ADD_STYLE(wxBK_BOTTOM); -#if WXWIN_COMPATIBILITY_2_6 + // provide the old synonyms for these fields as well XRC_ADD_STYLE(wxNB_DEFAULT); XRC_ADD_STYLE(wxNB_LEFT); XRC_ADD_STYLE(wxNB_RIGHT); XRC_ADD_STYLE(wxNB_TOP); XRC_ADD_STYLE(wxNB_BOTTOM); -#endif XRC_ADD_STYLE(wxNB_FIXEDWIDTH); XRC_ADD_STYLE(wxNB_MULTILINE);