#pragma hdrstop
#endif
+#if wxUSE_XRC
+
#if wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
#include "wx/xrc/xh_chckl.h"
wxCheckListBoxXmlHandler::wxCheckListBoxXmlHandler()
: wxXmlResourceHandler(), m_insideBox(false)
{
- // no styles
+ // wxListBox styles:
+ XRC_ADD_STYLE(wxLB_SINGLE);
+ XRC_ADD_STYLE(wxLB_MULTIPLE);
+ XRC_ADD_STYLE(wxLB_EXTENDED);
+ XRC_ADD_STYLE(wxLB_HSCROLL);
+ XRC_ADD_STYLE(wxLB_ALWAYS_SB);
+ XRC_ADD_STYLE(wxLB_NEEDED_SB);
+ XRC_ADD_STYLE(wxLB_SORT);
+
AddWindowStyles();
}
(m_insideBox && node->GetName() == wxT("item")));
}
-#endif
+#endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
+#endif // wxUSE_XRC