Attempt at getting mingw32 working again... still doesn't work
I wonder when the last time it did work git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,7 +54,7 @@ WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
|
||||
// this defines a CASTWNDPROC macro which casts a pointer to the type of a
|
||||
// window proc
|
||||
// ---------------------------------------------------------------------------
|
||||
#ifdef __GNUWIN32__
|
||||
#if defined(__GNUWIN32__) && !defined(__MINGW32__)
|
||||
# define CASTWNDPROC (long unsigned)
|
||||
#else
|
||||
# ifdef __BORLANDC__
|
||||
|
@@ -23,16 +23,6 @@
|
||||
#include "wx/event.h"
|
||||
#include "wx/textctrl.h"
|
||||
|
||||
#ifdef __GNUWIN32__
|
||||
# ifdef GetFirstChild
|
||||
# undef GetFirstChild
|
||||
# endif
|
||||
|
||||
# ifdef GetNextSibling
|
||||
# undef GetNextSibling
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// the type for "untyped" data
|
||||
typedef long wxDataType;
|
||||
|
||||
|
@@ -117,6 +117,10 @@
|
||||
|
||||
#ifdef StartDoc
|
||||
#undef StartDoc
|
||||
#ifdef __MINGW32__
|
||||
#define DOCINFOW DOCINFO
|
||||
#define DOCINFOA DOCINFO
|
||||
#endif
|
||||
#ifdef _UNICODE
|
||||
inline int StartDoc(HDC h, CONST DOCINFOW* info)
|
||||
{
|
||||
@@ -159,11 +163,11 @@
|
||||
|
||||
// GetNextSibling
|
||||
#ifdef GetNextSibling
|
||||
#undef GetNextSibling
|
||||
inline HWND GetNextSibling(HWND h)
|
||||
{
|
||||
return GetWindow(h, GW_HWNDNEXT);
|
||||
}
|
||||
#undef GetNextSibling
|
||||
inline HWND GetNextSibling(HWND h)
|
||||
{
|
||||
return GetWindow(h, GW_HWNDNEXT);
|
||||
}
|
||||
#endif
|
||||
|
||||
// GetWindowProc
|
||||
|
Reference in New Issue
Block a user