summaryrefslogtreecommitdiffstats
path: root/src/wxwidgets-2-comdlg-struct.patch
blob: ec1f166905e7c7ac8a6eb8735ae391a698827735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This file is part of MXE.
See index.html for further information.

This patch has been taken from:
http://thread.gmane.org/gmane.comp.lib.wxwidgets.general/79996/focus=80025

diff -ur wxWidgets-2.9.5.orig/src/msw/dirdlg.cpp wxWidgets-2.9.5/src/msw/dirdlg.cpp
--- wxWidgets-2.9.5.orig/src/msw/dirdlg.cpp	2013-07-17 01:47:14.000000000 +1000
+++ wxWidgets-2.9.5/src/msw/dirdlg.cpp	2013-10-19 23:19:10.000000000 +1100
@@ -106,11 +106,11 @@
     #define FOS_FORCEFILESYSTEM 0x40
 #endif
 
-struct COMDLG_FILTERSPEC;
+struct _COMDLG_FILTERSPEC;
 
 struct IFileDialog : public IModalWindow
 {
-    virtual HRESULT wxSTDCALL SetFileTypes(UINT, const COMDLG_FILTERSPEC*) = 0;
+    virtual HRESULT wxSTDCALL SetFileTypes(UINT, const _COMDLG_FILTERSPEC*) = 0;
     virtual HRESULT wxSTDCALL SetFileTypeIndex(UINT) = 0;
     virtual HRESULT wxSTDCALL GetFileTypeIndex(UINT*) = 0;
     virtual HRESULT wxSTDCALL Advise(IFileDialogEvents*, DWORD*) = 0;