X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06a419244f6c8b84ddccd2f49c9af942fe1602f0..6ba718d7aee2f519d9146b90424ccec9e2243479:/src/generic/filepickerg.cpp diff --git a/src/generic/filepickerg.cpp b/src/generic/filepickerg.cpp index a33a965db0..225da729d2 100644 --- a/src/generic/filepickerg.cpp +++ b/src/generic/filepickerg.cpp @@ -4,7 +4,6 @@ // Author: Francesco Montorsi // Modified by: // Created: 15/04/2006 -// RCS-ID: $Id$ // Copyright: (c) Francesco Montorsi // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -81,7 +80,7 @@ bool wxGenericFileDirButton::Create(wxWindow *parent, } // and handle user clicks on it - Connect(GetId(), wxEVT_COMMAND_BUTTON_CLICKED, + Connect(GetId(), wxEVT_BUTTON, wxCommandEventHandler(wxGenericFileDirButton::OnButtonClick), NULL, this);