]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/clrpickerg.cpp
missing commit
[wxWidgets.git] / src / generic / clrpickerg.cpp
index ffc71547ad4e53d07df063f747eb873c76ec17b9..9f855ca4857f0b2676f53fd9a18bd3b2b44b3877 100644 (file)
@@ -58,7 +58,7 @@ bool wxGenericColourButton::Create( wxWindow *parent, wxWindowID id,
     }
 
     // and handle user clicks on it
-    Connect(GetId(), wxEVT_COMMAND_BUTTON_CLICKED,
+    Connect(GetId(), wxEVT_BUTTON,
             wxCommandEventHandler(wxGenericColourButton::OnButtonClick),
             NULL, this);