]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/choice.cpp
bug fix for vista in multi-selection tree
[wxWidgets.git] / src / univ / choice.cpp
index e8237fef8f742a6a56f1441b054d2e09564101b5..d1d5312f36b6e21fe0cd68105ee4d095e1fc0658 100644 (file)
@@ -31,7 +31,7 @@
     #include "wx/arrstr.h"
 #endif
 
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
 
 BEGIN_EVENT_TABLE(wxChoice, wxComboBox)
     EVT_COMBOBOX(wxID_ANY, wxChoice::OnComboBox)