X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..455f6b8d94e9e312e2c1a81a9515d784f9f4ac30:/src/xrc/xh_gdctl.cpp?ds=inline diff --git a/src/xrc/xh_gdctl.cpp b/src/xrc/xh_gdctl.cpp index 5a8226ebb7..e9bd578a7b 100644 --- a/src/xrc/xh_gdctl.cpp +++ b/src/xrc/xh_gdctl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_gdctl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,8 +15,7 @@ #pragma hdrstop #endif -#include "wx/defs.h" -#if wxUSE_DIRDLG +#if wxUSE_XRC && wxUSE_DIRDLG #include "wx/textctrl.h" #include "wx/xrc/xh_gdctl.h" @@ -61,4 +56,4 @@ bool wxGenericDirCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxGenericDirCtrl")); } -#endif +#endif // wxUSE_XRC && wxUSE_DIRDLG