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:
@@ -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_
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user