]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_chckl.cpp
font is only non default if it has non default field values
[wxWidgets.git] / contrib / src / xrc / xh_chckl.cpp
index 408c02570dd950022cbc7dd36b17b2e1f0c5bd5f..fb8c71ad34599ef012850b166537c258ec8df2d8 100644 (file)
     #pragma hdrstop
 #endif
 
+#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)
 {
@@ -105,4 +109,5 @@ bool wxCheckListXmlHandler::CanHandle(wxXmlNode *node)
            (m_insideBox && node->GetName() == wxT("item")));
 }
 
+#endif