]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/fontpickerg.cpp
Don't assume that KeySym is always defined as long in wxGTK.
[wxWidgets.git] / src / generic / fontpickerg.cpp
index ffcbb91de357d3af9422660e6e6ea17395528686..c09cb09234f15625f1b894d5d1a7677c23837d15 100644 (file)
@@ -59,7 +59,7 @@ bool wxGenericFontButton::Create( wxWindow *parent, wxWindowID id,
     }
 
     // and handle user clicks on it
-    Connect(GetId(), wxEVT_COMMAND_BUTTON_CLICKED,
+    Connect(GetId(), wxEVT_BUTTON,
             wxCommandEventHandler(wxGenericFontButton::OnButtonClick),
             NULL, this);