X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c757b5fee093bbc3686f1e474316396b742fb888..e5ef1cae0f424be0bffbd651cb10052dfb208396:/src/generic/filepickerg.cpp diff --git a/src/generic/filepickerg.cpp b/src/generic/filepickerg.cpp index 55583a121e..fa0259926f 100644 --- a/src/generic/filepickerg.cpp +++ b/src/generic/filepickerg.cpp @@ -55,7 +55,7 @@ bool wxGenericFileDirButton::Create( wxWindow *parent, wxWindowID id, } // and handle user clicks on it - Connect(wxEVT_COMMAND_BUTTON_CLICKED, + Connect(GetId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(wxGenericFileDirButton::OnButtonClick), NULL, this);