moved combobox styles from defs.to to combobox.h; added wxTE/wxCB_FILENAME styles (MSW only for now); show them in the widgets sample and use for file/dir pickers text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
|
||||
#include <shlobj.h>
|
||||
|
||||
#include "wx/msw/winundef.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxItemIdList implements RAII on top of ITEMIDLIST
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -77,5 +79,12 @@ private:
|
||||
DECLARE_NO_COPY_CLASS(wxItemIdList)
|
||||
};
|
||||
|
||||
// enable autocompleting filenames in the text control with given HWND
|
||||
//
|
||||
// this only works on systems with shlwapi.dll 5.0 or later
|
||||
//
|
||||
// implemented in src/msw/utilsgui.cpp
|
||||
extern bool wxEnableFileNameAutoComplete(HWND hwnd);
|
||||
|
||||
#endif // _WX_MSW_WRAPSHL_H_
|
||||
|
||||
|
Reference in New Issue
Block a user