]> git.saurik.com Git - wxWidgets.git/commitdiff
wxCheckListBox doesn't require wxUSE_OWNER_DRAWN when using WXUNIVERSAL
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 22 May 2005 00:29:27 +0000 (00:29 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 22 May 2005 00:29:27 +0000 (00:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/xrc/xh_chckl.h
src/xrc/xh_chckl.cpp

index 577065e986c2aa4bb8b6c66b69c7c69405d7ee44..d3a2bc2abe8550f685943acc39df13723d7e3a16 100644 (file)
@@ -17,6 +17,8 @@
 
 #include "wx/xrc/xmlres.h"
 
+#if wxUSE_CHECKLISTBOX
+
 class WXDLLIMPEXP_XRC wxCheckListBoxXmlHandler : public wxXmlResourceHandler
 {
 DECLARE_DYNAMIC_CLASS(wxCheckListBoxXmlHandler)
@@ -29,6 +31,6 @@ private:
     wxArrayString strList;
 };
 
-
+#endif
 
 #endif // _WX_XH_CHECKLIST_H_
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