X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fc69ebc38c90da3b94791bb4f57a2f7dd1ecdcd..c0e69d720d8b15f788fe0998806f18c46f7d5d8b:/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);