]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapshl.h
Make all instances of HasEditorCtrl() const, not just a few
[wxWidgets.git] / include / wx / msw / wrapshl.h
index 3a0e143d768bc4501be5ec8119a54a19a8f08e86..163f96b0a22835fc0271c82db6de6f8b2a2e3045 100644 (file)
 #ifndef _WX_MSW_WRAPSHL_H_
 #define _WX_MSW_WRAPSHL_H_
 
+#include "wx/msw/wrapwin.h"
+
 #ifdef __WXWINCE__
     #include <winreg.h>
     #include <objbase.h>
     #include <shlguid.h>
+    #include <shellapi.h>
 #endif
 
 #include <shlobj.h>
 
+#include "wx/msw/winundef.h"
+
+#include "wx/log.h"
+
 // ----------------------------------------------------------------------------
 // wxItemIdList implements RAII on top of ITEMIDLIST
 // ----------------------------------------------------------------------------
@@ -74,8 +81,15 @@ public:
 private:
     LPITEMIDLIST m_pidl;
 
-    DECLARE_NO_COPY_CLASS(wxItemIdList)
+    wxDECLARE_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_