X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c7789014106c9269b0f4ecc1a3071b14f351d3f..a8519f6507f7b4389c0fe7dbae4ebd63120d5dd0:/include/wx/filepicker.h?ds=sidebyside diff --git a/include/wx/filepicker.h b/include/wx/filepicker.h index b4450c93d6..7e14d097d9 100644 --- a/include/wx/filepicker.h +++ b/include/wx/filepicker.h @@ -307,7 +307,7 @@ protected: long GetPickerStyle(long style) const { return (style & (wxFLP_OPEN|wxFLP_SAVE|wxFLP_OVERWRITE_PROMPT| - wxFLP_FILE_MUST_EXIST|wxFLP_CHANGE_DIR)); + wxFLP_FILE_MUST_EXIST|wxFLP_CHANGE_DIR|wxFLP_USE_TEXTCTRL)); } private: @@ -409,7 +409,7 @@ protected: // extracts the style for our picker from wxFileDirPickerCtrlBase's style long GetPickerStyle(long style) const - { return (style & (wxDIRP_DIR_MUST_EXIST|wxDIRP_CHANGE_DIR)); } + { return (style & (wxDIRP_DIR_MUST_EXIST|wxDIRP_CHANGE_DIR|wxDIRP_USE_TEXTCTRL)); } private: DECLARE_DYNAMIC_CLASS(wxDirPickerCtrl)