]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/choice.cpp
don't use deprecated toolbar API
[wxWidgets.git] / src / motif / choice.cpp
index bb1181f4fd422802fe5cd200d79e5169ba7adf64..4a05b6829d5954bedc6ae7e0ca0839e26dd4c030 100644 (file)
 
 #if wxUSE_CHOICE
 
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#define XtParent XTPARENT
-#endif
-
 #include "wx/choice.h"
 
 #ifndef WX_PRECOMP
@@ -43,7 +38,7 @@
 #define WIDTH_OVERHEAD_SUBTRACT 40
 #define HEIGHT_OVERHEAD 15
 
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
 
 void wxChoiceCallback (Widget w, XtPointer clientData,
                        XtPointer ptr);