]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/choice.mm
make wxChoice and wxListBox inherit from wxControlWithItems and not wxControl for...
[wxWidgets.git] / src / cocoa / choice.mm
index dbc2ce597fff1b98d8f4cef9f2229e181a740792..334444cdcb06d8a33fc0048312c1b6dae64841fb 100644 (file)
@@ -29,7 +29,7 @@
 #import <Foundation/NSNotification.h>
 #import <Foundation/NSDictionary.h>
 
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
 BEGIN_EVENT_TABLE(wxChoice, wxChoiceBase)
 END_EVENT_TABLE()
 // WX_IMPLEMENT_COCOA_OWNER(wxChoice,NSButton,NSControl,NSView)