]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextformatdlg.cpp
missing commit
[wxWidgets.git] / src / richtext / richtextformatdlg.cpp
index 976eeef4bfd20e1399eef1fc90868cc94222f8e8..a5fbe3b54ed69fdf2ad92606d97a08e0acd450a7 100644 (file)
@@ -733,7 +733,7 @@ void wxRichTextColourSwatchCtrl::OnMouseEvent(wxMouseEvent& event)
 #endif // wxUSE_COLOURDLG
         Refresh();
 
-        wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, GetId());
+        wxCommandEvent event(wxEVT_BUTTON, GetId());
         GetEventHandler()->ProcessEvent(event);
     }
 }