]> git.saurik.com Git - wxWidgets.git/commitdiff
WXFARPROC prototyped as `typedef int (__stdcall *WXFARPROC)()' (does Borland
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Aug 1998 22:08:04 +0000 (22:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Aug 1998 22:08:04 +0000 (22:08 +0000)
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

include/wx/defs.h

index 9feafaf59c0f2129cf9becd4cedc4e9d4e506f0f..019b901851c6d3d042aca5504d13fb2ab17b372c 100644 (file)
@@ -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