Fix problem with COMDLG_FILTERSPEC declaration with MinGW-w64 4.8.
Forward declaring as a struct a symbol previously defined as a typedef results in an error when using MinGW-w64 4.8.1, so forward declare the struct itself instead. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,11 +105,11 @@ struct IModalWindow : public IUnknown
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user