]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/combobox_native.cpp
Fix AdjustForOverflow to use item->CalcMin, not item->GetSize
[wxWidgets.git] / src / motif / combobox_native.cpp
index 1cadd49e94406592525454cb6551d64bf9679189..af01743d784897dbe5b77fbce111bfd407f0d6f4 100644 (file)
@@ -306,7 +306,7 @@ void  wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData,
                 event.SetClientData( item->GetClientData(idx) );
             event.SetExtraLong(true);
             event.SetEventObject(item);
-            item->GetEventHandler()->ProcessEvent(event);
+            item->HandleWindowEvent(event);
             break;
         }
     case XmCR_VALUE_CHANGED:
@@ -316,7 +316,7 @@ void  wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData,
             event.SetString( item->GetValue() );
             event.SetExtraLong(true);
             event.SetEventObject(item);
-            item->GetEventHandler()->ProcessEvent(event);
+            item->HandleWindowEvent(event);
             break;
         }
     default: