From aad7e71c66c191f95ff4b922db3ddcf194e12be3 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 28 Aug 2007 19:25:59 +0000 Subject: [PATCH] Compile fix for old W32API headers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/missing.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 /* -- 2.50.0