]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_chckl.cpp
Include order is wxprec.h=>defs.h=>platform.h=>setup.h so remove explicit setup.h...
[wxWidgets.git] / src / xrc / xh_chckl.cpp
index 536c011ae616325145c480e4cd8d9326b258e794..a92e391c92651a2dcab4370e2405e9541ff3be01 100644 (file)
@@ -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"
 
@@ -21,7 +17,7 @@
 
 #if wxUSE_XRC
 
-#if wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
+#if wxUSE_CHECKLISTBOX
 
 #include "wx/xrc/xh_chckl.h"
 #include "wx/checklst.h"
@@ -131,6 +127,6 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node)
            (m_insideBox && node->GetName() == wxT("item")));
 }
 
-#endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
+#endif // wxUSE_CHECKLISTBOX
 
 #endif // wxUSE_XRC