]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clrpicker.cpp
use IMPLEMENT_APP_CONSOLE and not IMPLEMENT_APP for console apps
[wxWidgets.git] / src / gtk / clrpicker.cpp
index 57272a0e88f8d20259fbdebcda22041db9d47925..de19aa7c4d8f6a673f79d0e76e6fa687db66f39a 100644 (file)
@@ -43,7 +43,7 @@ static void gtk_clrbutton_setcolor_callback(GtkColorButton *widget,
 
     // fire the colour-changed event
     wxColourPickerEvent event(p, p->GetId(), p->GetColour());
 
     // fire the colour-changed event
     wxColourPickerEvent event(p, p->GetId(), p->GetColour());
-    p->GetEventHandler()->ProcessEvent(event);
+    p->HandleWindowEvent(event);
 }
 }
 
 }
 }