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:
Brian Macy
1999-06-05 05:00:23 +00:00
parent 052cbfee35
commit 0c589ad076
31 changed files with 105 additions and 59 deletions

View File

@@ -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__

View File

@@ -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;

View File

@@ -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