+bool wxFilePickerCtrl::Create(wxWindow *parent,
+ wxWindowID id,
+ const wxString& path,
+ const wxString& message,
+ const wxString& wildcard,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator& validator,
+ const wxString& name)
+{
+ if ( !wxFileDirPickerCtrlBase::CreateBase
+ (
+ parent, id, path, message, wildcard,
+ pos, size, style, validator, name
+ ) )
+ return false;
+
+ if ( HasTextCtrl() )
+ GetTextCtrl()->AutoCompleteFileNames();
+
+ return true;
+}
+