X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58772e4992e1a0601bddbf76fddbf4bb916cf85e..f5bed7a885024108682c32c74567cdf7bf2ed13b:/src/common/filepickercmn.cpp diff --git a/src/common/filepickercmn.cpp b/src/common/filepickercmn.cpp index 27fb86a331..06931b3b56 100644 --- a/src/common/filepickercmn.cpp +++ b/src/common/filepickercmn.cpp @@ -76,6 +76,10 @@ bool wxFileDirPickerCtrlBase::CreateBase( wxWindow *parent, wxWindowID id, // create a wxFilePickerWidget or a wxDirPickerWidget... if (!CreatePicker(this, path, message, wildcard)) return false; + + // complete sizer creation + wxPickerBase::PostCreation(); + m_picker->Connect(GetEventType(), wxFileDirPickerEventHandler(wxFileDirPickerCtrlBase::OnFileDirChange), NULL, this);