X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/544fee32eeac1a4f6ca3e0c7c1b13ee24f1d1c1c..3c5487b14442ddbc6e43ee2f4475b5a6ba251fb1:/src/xrc/xh_listc.cpp diff --git a/src/xrc/xh_listc.cpp b/src/xrc/xh_listc.cpp index 6f9f6b2ab4..f133a894f7 100644 --- a/src/xrc/xh_listc.cpp +++ b/src/xrc/xh_listc.cpp @@ -24,6 +24,8 @@ #include "wx/listctrl.h" +IMPLEMENT_DYNAMIC_CLASS(wxListCtrlXmlHandler, wxXmlResourceHandler) + wxListCtrlXmlHandler::wxListCtrlXmlHandler() : wxXmlResourceHandler() { @@ -40,6 +42,10 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler() XRC_ADD_STYLE(wxLC_SINGLE_SEL); XRC_ADD_STYLE(wxLC_SORT_ASCENDING); XRC_ADD_STYLE(wxLC_SORT_DESCENDING); + XRC_ADD_STYLE(wxLC_VIRTUAL); + XRC_ADD_STYLE(wxLC_HRULES); + XRC_ADD_STYLE(wxLC_VRULES); + XRC_ADD_STYLE(wxLC_NO_SORT_HEADER); AddWindowStyles(); }