]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/choiccmn.cpp
Rename gtk{,1}/tbargtk.{h,cpp} to toolbar.{h,cpp}.
[wxWidgets.git] / src / common / choiccmn.cpp
index db5fea5e20adcd11e8c5a4c1a3ce2876297d4aab..64f8a92347e01da7d80b107e513fdde002f4ec48 100644 (file)
@@ -31,7 +31,7 @@
 #ifndef WX_PRECOMP
 #endif
 
-const wxChar wxChoiceNameStr[] = wxT("choice");
+const char wxChoiceNameStr[] = "choice";
 
 // ============================================================================
 // implementation
@@ -49,7 +49,7 @@ wxChoiceBase::~wxChoiceBase()
 void wxChoiceBase::Command(wxCommandEvent& event)
 {
     SetSelection(event.GetInt());
-    (void)ProcessEvent(event);
+    (void)GetEventHandler()->ProcessEvent(event);
 }
 
 #endif // wxUSE_CHOICE