From: Julian Smart Date: Tue, 28 Aug 2007 19:25:59 +0000 (+0000) Subject: Compile fix for old W32API headers X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aad7e71c66c191f95ff4b922db3ddcf194e12be3 Compile fix for old W32API headers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index f75c2d2b66..6c9c3bb52f 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -452,6 +452,20 @@ typedef struct _OSVERSIONINFOEX { */ #if defined (__MINGW32__) + +#if !wxCHECK_W32API_VERSION(3,1) + +#include +#include "wx/msw/winundef.h" + +typedef struct +{ + RECT rgrc[3]; + WINDOWPOS *lppos; +} NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS; + +#endif + #endif /*