]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for old W32API headers
authorJulian Smart <julian@anthemion.co.uk>
Tue, 28 Aug 2007 19:25:59 +0000 (19:25 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 28 Aug 2007 19:25:59 +0000 (19:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/missing.h

index f75c2d2b667bdeabc9ad9f167939f7211e49b141..6c9c3bb52f136b3a4d12e02771921dc62c73cbf0 100644 (file)
@@ -452,6 +452,20 @@ typedef struct _OSVERSIONINFOEX {
   */
 
 #if defined (__MINGW32__)
+
+#if !wxCHECK_W32API_VERSION(3,1)
+
+#include <windows.h>
+#include "wx/msw/winundef.h"
+
+typedef struct
+{
+    RECT       rgrc[3];
+    WINDOWPOS *lppos;
+} NCCALCSIZE_PARAMS, *LPNCCALCSIZE_PARAMS;
+
+#endif
+
 #endif
 
  /*