X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/724f720f896512f7a59b83ee021da1dc720000a0..ca5b5b49c81e2ffab063f2be6ada2ed4290d1db1:/include/wx/defs.h?ds=sidebyside diff --git a/include/wx/defs.h b/include/wx/defs.h index 66ced8ccff..786572f161 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -1127,12 +1127,6 @@ enum wxBorder // be modal. No progress will then be made at all. #define wxPD_REMAINING_TIME 0x0040 -/* - * wxHtmlWindow flags - */ -#define wxHW_SCROLLBAR_NEVER 0x0002 -#define wxHW_SCROLLBAR_AUTO 0x0004 - /* * extended dialog specifiers. these values are stored in a different * flag and thus do not overlap with other style flags. note that these @@ -1783,8 +1777,15 @@ typedef int (__stdcall *WXFARPROC)(); #if defined(__WXPM__) +#ifdef __EMX__ +/* Need a well-known type for WXFARPROC + below. MPARAM is typedef'ed too late. */ +#define WXWPARAM void * +#define WXLPARAM void * +#else #define WXWPARAM MPARAM #define WXLPARAM MPARAM +#endif #define RECT RECTL #define LOGFONT FATTRS #define LOWORD SHORT1FROMMP @@ -1842,6 +1843,9 @@ typedef struct tagLOGPALETTE // VA 3.0 for some reason needs base data types when typedefing a proc proto??? typedef void* (_System *WXFARPROC)(unsigned long, unsigned long, void*, void*); #else +#ifdef __EMX__ +#define _System +#endif typedef WXRESULT (_System *WXFARPROC)(WXHWND, WXMSGID, WXWPARAM, WXLPARAM); #endif