X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fc69ebc38c90da3b94791bb4f57a2f7dd1ecdcd..60ebcb8a491cf5132a326490cd148dcba384f729:/src/generic/fontpickerg.cpp diff --git a/src/generic/fontpickerg.cpp b/src/generic/fontpickerg.cpp index 971f1cbdbb..5696313079 100644 --- a/src/generic/fontpickerg.cpp +++ b/src/generic/fontpickerg.cpp @@ -59,7 +59,7 @@ bool wxGenericFontButton::Create( wxWindow *parent, wxWindowID id, } // and handle user clicks on it - Connect(wxEVT_COMMAND_BUTTON_CLICKED, + Connect(GetId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(wxGenericFontButton::OnButtonClick), NULL, this);