X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ea1280cb72eca20ee34d0c76e660d5cc0a482b7..73b2a9a749a960c7c5150d70e847cd740983c034:/src/xrc/xh_chckl.cpp diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index f891730c2e..a92e391c92 100644 --- a/src/xrc/xh_chckl.cpp +++ b/src/xrc/xh_chckl.cpp @@ -8,10 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "xh_chckl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -19,7 +15,9 @@ #pragma hdrstop #endif -#if wxUSE_OWNER_DRAWN || !defined(__WXMSW__) +#if wxUSE_XRC + +#if wxUSE_CHECKLISTBOX #include "wx/xrc/xh_chckl.h" #include "wx/checklst.h" @@ -129,5 +127,6 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node) (m_insideBox && node->GetName() == wxT("item"))); } -#endif +#endif // wxUSE_CHECKLISTBOX +#endif // wxUSE_XRC