WINE is so fine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -124,6 +124,18 @@
|
||||
#define __WIN32__
|
||||
#endif
|
||||
|
||||
#ifdef __WXWINE__
|
||||
#ifndef __WIN32__
|
||||
#define __WIN32__
|
||||
#endif
|
||||
#ifndef __WIN95__
|
||||
#define __WIN95__
|
||||
#endif
|
||||
#ifndef STRICT
|
||||
#define STRICT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef __WIN32__
|
||||
#define __WIN16__
|
||||
#endif
|
||||
@@ -1286,7 +1298,7 @@ typedef void * WXDRAWITEMSTRUCT;
|
||||
typedef void * WXMEASUREITEMSTRUCT;
|
||||
typedef void * WXLPCREATESTRUCT;
|
||||
|
||||
#ifdef __GNUWIN32__
|
||||
#if defined(__GNUWIN32__) || defined(__WXWINE__)
|
||||
typedef int (*WXFARPROC)();
|
||||
#elif defined(__WIN32__)
|
||||
typedef int (__stdcall *WXFARPROC)();
|
||||
|
@@ -50,19 +50,6 @@ WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDIPARENTFRAME_ICON;
|
||||
WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDICHILDFRAME_ICON;
|
||||
WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// WINE implements the Win32 API
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#ifdef __WXWINE__
|
||||
#ifndef __WIN32__
|
||||
#define __WIN32__
|
||||
#endif
|
||||
#ifndef STRICT
|
||||
#define STRICT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// this defines a CASTWNDPROC macro which casts a pointer to the type of a
|
||||
// window proc
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
#if defined(__WIN95__) && !defined(__TWIN32__)
|
||||
#if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__WXWINE__)
|
||||
#define wxUSE_RICHEDIT 1
|
||||
#else
|
||||
#define wxUSE_RICHEDIT 0
|
||||
|
Reference in New Issue
Block a user