]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/combobox.cpp
applied part of patch 1169925: fix errors with multibyte <-> wx conversions
[wxWidgets.git] / src / motif / combobox.cpp
index 0b6a229487d89f006062aca78971678c9fdc9bde..3eb2b9eddee80c224394ea5d2bb4f55ed78ceb09 100644 (file)
@@ -324,7 +324,7 @@ void  wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData,
                 event.SetClientObject( item->GetClientObject(cbs->index - 1) );
             else if ( item->HasClientUntypedData() )
                 event.SetClientData( item->GetClientData(cbs->index - 1) );
-            event.SetExtraLong(TRUE);
+            event.SetExtraLong(true);
             event.SetEventObject(item);
             item->ProcessCommand (event);
             break;
@@ -334,7 +334,7 @@ void  wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData,
             wxCommandEvent event (wxEVT_COMMAND_TEXT_UPDATED, item->GetId());
             event.SetInt(-1);
             event.SetString( item->GetValue() );
-            event.SetExtraLong(TRUE);
+            event.SetExtraLong(true);
             event.SetEventObject(item);
             item->ProcessCommand (event);
             break;