use wxBoxSizer in wxPickerBase instead of doing the layout manually + other picker controls fixes (patch 1513042)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user