X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c757b5fee093bbc3686f1e474316396b742fb888..831b64f32f204d1424e248d100c109974aa4238c:/src/generic/filepickerg.cpp?ds=sidebyside 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);