X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58772e4992e1a0601bddbf76fddbf4bb916cf85e..cc3de8a3fc8e91ad88a20eb2df36490e532ba6c1:/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);