X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/096d5447522811eb785973a3b36266f899c135a3..0ecd03525b34edba886ca83ff724265cd912dbbd:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 38b1afcd15..b687aac8d7 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -59,6 +59,8 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr) { + Init(); + Create(parent, id, pos, size, choices, style, validator, name); } @@ -190,6 +192,7 @@ private: // i.e. if we need to call SetHorizontalExtent() from OnInternalIdle() bool m_updateHorizontalExtent; + DECLARE_DYNAMIC_CLASS_NO_COPY(wxListBox) };