]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filepickerg.cpp
don't access inexistent column in wxDataViewTreeCtrl::OnSize() (this bug also probabl...
[wxWidgets.git] / src / generic / filepickerg.cpp
index 55583a121e67c25ce22caa6626d0684d7e4993ac..fa0259926f76e6ed6013425a021e254a7f56d43f 100644 (file)
@@ -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);