From: Vadim Zeitlin Date: Sat, 8 Aug 1998 22:08:04 +0000 (+0000) Subject: WXFARPROC prototyped as `typedef int (__stdcall *WXFARPROC)()' (does Borland X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b039c367cd7c1085d4175d3f87710a6f00e28fb4 WXFARPROC prototyped as `typedef int (__stdcall *WXFARPROC)()' (does Borland understand __stdcall?) to make the program compile with VC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 9feafaf59c..019b901851 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -426,7 +426,8 @@ typedef void (*wxFunction) (wxObject&, wxEvent&); #define wxREADONLY wxTE_READONLY #define wxEDITABLE 0 -// #define wxTE_RICHTEXT 0x0020 +// MSW-only +#define wxTE_RICHTEXT 0x0020 /* * wxComboBox style flags @@ -883,7 +884,7 @@ typedef unsigned long WXHCONV; typedef void * WXDRAWITEMSTRUCT; typedef void * WXMEASUREITEMSTRUCT; typedef void * WXLPCREATESTRUCT; -typedef int (*WXFARPROC)(); +typedef int (__stdcall *WXFARPROC)(); #endif