]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/choice.cpp
implement wxEventLoop::DispatchTimeout() for wxGTK (thanks Paul) and rewrote it to...
[wxWidgets.git] / src / gtk1 / choice.cpp
index 0d50df554f9a5bc86ed56d9068352c34251c17a5..e6d11cc52d341835e4a99288a835b39c597c4c23 100644 (file)
@@ -78,7 +78,7 @@ static void gtk_choice_clicked_callback( GtkWidget *WXUNUSED(widget), wxChoice *
     else if ( choice->HasClientUntypedData() )
         event.SetClientData( choice->GetClientData(n) );
 
-    choice->GetEventHandler()->ProcessEvent(event);
+    choice->HandleWindowEvent(event);
 }
 }
 
@@ -264,7 +264,7 @@ void wxChoice::DoDeleteOneItem(unsigned int n)
 
     void ** const data = &itemsData[0];
     if ( HasClientObjectData() )
-        Append(items, wx_reinterpret_cast(wxClientData **, data));
+        Append(items, reinterpret_cast<wxClientData **>(data));
     else
         Append(items, data);
 }