X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/621be1ec2672d922cfb95d6e8178b38c8ceaf52a..ca71e3ae27676bd0c162487b40fc74afa59f54e8:/src/xrc/xh_tree.cpp diff --git a/src/xrc/xh_tree.cpp b/src/xrc/xh_tree.cpp index cb886cf3d9..5c3e346f78 100644 --- a/src/xrc/xh_tree.cpp +++ b/src/xrc/xh_tree.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_tree.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,7 +15,7 @@ #pragma hdrstop #endif -#if wxUSE_XRC +#if wxUSE_XRC && wxUSE_TREECTRL #include "wx/xrc/xh_tree.h" #include "wx/treectrl.h" @@ -67,4 +63,4 @@ bool wxTreeCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxTreeCtrl")); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_TREECTRL