]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_chckl.cpp
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / src / xrc / xh_chckl.cpp
index f891730c2e4da9c8d5720754e118d52432e0e041..d7e5226486b447435d85dda7a54bd9fa429343e7 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_chckl.h"
 #endif
 
@@ -19,7 +19,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 +131,6 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node)
            (m_insideBox && node->GetName() == wxT("item")));
 }
 
-#endif
+#endif // wxUSE_CHECKLISTBOX
 
+#endif // wxUSE_XRC