mirror of https://github.com/encounter/SDL.git
SDL_windowstaskdialog.h (struct _TASKDIALOGCONFIG): make unions anonymous
otherwise build fails. (at least with my VS2005. and the code accesses the arms of the unions anonymously anyway.)
This commit is contained in:
parent
949b8bd8c5
commit
013b146de9
|
@ -129,7 +129,7 @@ typedef struct _TASKDIALOGCONFIG
|
||||||
{
|
{
|
||||||
HICON hMainIcon;
|
HICON hMainIcon;
|
||||||
PCWSTR pszMainIcon;
|
PCWSTR pszMainIcon;
|
||||||
} DUMMYUNIONNAME;
|
} /*DUMMYUNIONNAME*/;
|
||||||
PCWSTR pszMainInstruction;
|
PCWSTR pszMainInstruction;
|
||||||
PCWSTR pszContent;
|
PCWSTR pszContent;
|
||||||
UINT cButtons;
|
UINT cButtons;
|
||||||
|
@ -146,7 +146,7 @@ typedef struct _TASKDIALOGCONFIG
|
||||||
{
|
{
|
||||||
HICON hFooterIcon;
|
HICON hFooterIcon;
|
||||||
PCWSTR pszFooterIcon;
|
PCWSTR pszFooterIcon;
|
||||||
} DUMMYUNIONNAME2;
|
} /*DUMMYUNIONNAME2*/;
|
||||||
PCWSTR pszFooter;
|
PCWSTR pszFooter;
|
||||||
PFTASKDIALOGCALLBACK pfCallback;
|
PFTASKDIALOGCALLBACK pfCallback;
|
||||||
LONG_PTR lpCallbackData;
|
LONG_PTR lpCallbackData;
|
||||||
|
|
Loading…
Reference in New Issue