]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/choiccmn.cpp
wxX11 compilation fixes.
[wxWidgets.git] / src / common / choiccmn.cpp
index a4be5ca35c5e938255881f8a10ac513b06c8d027..d090aafd74983c17f998dd4f2dd0ef1cdc4accb0 100644 (file)
@@ -64,7 +64,7 @@ bool wxChoiceBase::SetStringSelection(const wxString& s)
 
 void wxChoiceBase::Command(wxCommandEvent& event)
 {
-    SetSelection(event.m_commandInt);
+    SetSelection(event.GetInt());
     (void)ProcessEvent(event);
 }