X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/544fee32eeac1a4f6ca3e0c7c1b13ee24f1d1c1c..510b9edbb6a614d42ac7697d0819d6720b774a19:/contrib/src/xrc/xh_listc.cpp?ds=inline diff --git a/contrib/src/xrc/xh_listc.cpp b/contrib/src/xrc/xh_listc.cpp index 6f9f6b2ab4..b876461977 100644 --- a/contrib/src/xrc/xh_listc.cpp +++ b/contrib/src/xrc/xh_listc.cpp @@ -24,6 +24,8 @@ #include "wx/listctrl.h" +IMPLEMENT_DYNAMIC_CLASS(wxListCtrlXmlHandler, wxXmlResourceHandler) + wxListCtrlXmlHandler::wxListCtrlXmlHandler() : wxXmlResourceHandler() { @@ -40,6 +42,7 @@ 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); AddWindowStyles(); }