From: Václav Slavík Date: Thu, 10 Apr 2003 23:01:42 +0000 (+0000) Subject: don't use deprecated macros X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/66010e8d0d04c180c51203f9ed7e2c26c78eff25?ds=inline don't use deprecated macros git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/xrc/xh_gdctl.cpp b/contrib/src/xrc/xh_gdctl.cpp index 9252d60f91..afd71480e9 100644 --- a/contrib/src/xrc/xh_gdctl.cpp +++ b/contrib/src/xrc/xh_gdctl.cpp @@ -29,10 +29,10 @@ wxGenericDirCtrlXmlHandler::wxGenericDirCtrlXmlHandler() : wxXmlResourceHandler() { - ADD_STYLE(wxDIRCTRL_DIR_ONLY); - ADD_STYLE(wxDIRCTRL_3D_INTERNAL); - ADD_STYLE(wxDIRCTRL_SELECT_FIRST); - ADD_STYLE(wxDIRCTRL_SHOW_FILTERS); + XRC_ADD_STYLE(wxDIRCTRL_DIR_ONLY); + XRC_ADD_STYLE(wxDIRCTRL_3D_INTERNAL); + XRC_ADD_STYLE(wxDIRCTRL_SELECT_FIRST); + XRC_ADD_STYLE(wxDIRCTRL_SHOW_FILTERS); AddWindowStyles(); } diff --git a/src/xrc/xh_gdctl.cpp b/src/xrc/xh_gdctl.cpp index 9252d60f91..afd71480e9 100644 --- a/src/xrc/xh_gdctl.cpp +++ b/src/xrc/xh_gdctl.cpp @@ -29,10 +29,10 @@ wxGenericDirCtrlXmlHandler::wxGenericDirCtrlXmlHandler() : wxXmlResourceHandler() { - ADD_STYLE(wxDIRCTRL_DIR_ONLY); - ADD_STYLE(wxDIRCTRL_3D_INTERNAL); - ADD_STYLE(wxDIRCTRL_SELECT_FIRST); - ADD_STYLE(wxDIRCTRL_SHOW_FILTERS); + XRC_ADD_STYLE(wxDIRCTRL_DIR_ONLY); + XRC_ADD_STYLE(wxDIRCTRL_3D_INTERNAL); + XRC_ADD_STYLE(wxDIRCTRL_SELECT_FIRST); + XRC_ADD_STYLE(wxDIRCTRL_SHOW_FILTERS); AddWindowStyles(); }