]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_chckl.cpp
moved Esc processing from wxWindow to wxDialog where it belongs; use the -- to be...
[wxWidgets.git] / src / xrc / xh_chckl.cpp
index 8ed6fef709096e4f11a208f0b9b392c03e6f4c34..d7e5226486b447435d85dda7a54bd9fa429343e7 100644 (file)
@@ -21,7 +21,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 +131,6 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node)
            (m_insideBox && node->GetName() == wxT("item")));
 }
 
-#endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
+#endif // wxUSE_CHECKLISTBOX
 
 #endif // wxUSE_XRC