several mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,9 +47,16 @@
|
||||
#include <print.h>
|
||||
#endif
|
||||
|
||||
// mingw32 defines GDI_ERROR incorrectly
|
||||
#ifdef __GNUWIN32__
|
||||
#undef GDI_ERROR
|
||||
#define GDI_ERROR ((int)-1)
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxWin macros
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_CLASS(wxPrinterDC, wxDC)
|
||||
|
||||
// ============================================================================
|
||||
|
Reference in New Issue
Block a user