X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3037523a7c04198b5ba1a27407213d66b570ce9d..245f35816d761212279e8cf223475efb7a367553:/src/xrc/xh_chckl.cpp diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index 46be0a3364..fb8c71ad34 100644 --- a/src/xrc/xh_chckl.cpp +++ b/src/xrc/xh_chckl.cpp @@ -19,12 +19,14 @@ #pragma hdrstop #endif -#if wxUSE_OWNER_DRAWN +#if wxUSE_OWNER_DRAWN || !defined(__WXMSW__) #include "wx/xrc/xh_chckl.h" #include "wx/checklst.h" #include "wx/intl.h" +IMPLEMENT_DYNAMIC_CLASS(wxCheckListXmlHandler, wxXmlResourceHandler) + wxCheckListXmlHandler::wxCheckListXmlHandler() : wxXmlResourceHandler(), m_insideBox(FALSE) { @@ -107,4 +109,5 @@ bool wxCheckListXmlHandler::CanHandle(wxXmlNode *node) (m_insideBox && node->GetName() == wxT("item"))); } -#endif \ No newline at end of file +#endif +