Remove obsolete wxCHECK_W32API_VERSION() checks
The latest of those checks tested for w32 API 3.3, which is older than
MinGW 3.4 released which is more than 13 years old, so we can safely
drop them (let alone checks for prehistoric 0.5 w32 API).
This incidentally fixes compilation errors due to the use of
wxCHECK_W32API_VERSION() in wx/msw/winundef.h which was now (since
the changes of 8c572c0a77
) included before
this macro was defined.
This commit is contained in:
@@ -246,27 +246,6 @@
|
||||
#ifndef TVM_SETBKCOLOR
|
||||
#define TVM_SETBKCOLOR (TV_FIRST + 29)
|
||||
#define TVM_SETTEXTCOLOR (TV_FIRST + 30)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The following are specifically required for MinGW.
|
||||
*/
|
||||
|
||||
#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
|
||||
|
||||
// Various defines used by the webview library that are needed by mingw
|
||||
|
Reference in New Issue
Block a user