wxCheckListBox doesn't require wxUSE_OWNER_DRAWN when using WXUNIVERSAL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-05-22 00:29:27 +00:00
parent df1b269d2f
commit db679b8c83
2 changed files with 5 additions and 3 deletions

View File

@@ -17,6 +17,8 @@
#include "wx/xrc/xmlres.h" #include "wx/xrc/xmlres.h"
#if wxUSE_CHECKLISTBOX
class WXDLLIMPEXP_XRC wxCheckListBoxXmlHandler : public wxXmlResourceHandler class WXDLLIMPEXP_XRC wxCheckListBoxXmlHandler : public wxXmlResourceHandler
{ {
DECLARE_DYNAMIC_CLASS(wxCheckListBoxXmlHandler) DECLARE_DYNAMIC_CLASS(wxCheckListBoxXmlHandler)
@@ -29,6 +31,6 @@ private:
wxArrayString strList; wxArrayString strList;
}; };
#endif
#endif // _WX_XH_CHECKLIST_H_ #endif // _WX_XH_CHECKLIST_H_

View File

@@ -21,7 +21,7 @@
#if wxUSE_XRC #if wxUSE_XRC
#if wxUSE_OWNER_DRAWN || !defined(__WXMSW__) #if wxUSE_CHECKLISTBOX
#include "wx/xrc/xh_chckl.h" #include "wx/xrc/xh_chckl.h"
#include "wx/checklst.h" #include "wx/checklst.h"
@@ -131,6 +131,6 @@ bool wxCheckListBoxXmlHandler::CanHandle(wxXmlNode *node)
(m_insideBox && node->GetName() == wxT("item"))); (m_insideBox && node->GetName() == wxT("item")));
} }
#endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__) #endif // wxUSE_CHECKLISTBOX
#endif // wxUSE_XRC #endif // wxUSE_XRC