]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/choice.cpp
added wxWS_EX_VALIDATE_RECURSIVELY
[wxWidgets.git] / src / motif / choice.cpp
index 87e7eb7880e926bf2a2f7430e8416644d0ed8b40..bae8a4417178ab0339266aa75671e9bf7e48c0c5 100644 (file)
@@ -441,8 +441,8 @@ void wxChoiceCallback (Widget w, XtPointer clientData, XtPointer WXUNUSED(ptr))
         {
             wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, item->GetId());
             event.SetEventObject(item);
-            event.m_commandInt = n;
-            event.m_commandString = item->GetStrings().Item(n)->GetData();
+            event.SetInt(n);
+            event.SetString( item->GetStrings().Item(n)->GetData() );
             if ( item->HasClientObjectData() )
                 event.SetClientObject( item->GetClientObject(n) );
             else if ( item->HasClientUntypedData() )