wxMSW: 2.9-cvs Compile issue with MSVC8 on src/richtext/richtextformatdlg.cpp

Tim Stahlhut stahta01 at highstream.net
Sun Apr 1 19:20:53 PDT 2007


FYI:

I get an error using MSVC8 of
..\..\src\richtext\richtextformatdlg.cpp(338) : fatal error C1017:
invalid integer constant expression


Index: src/richtext/richtextformatdlg.cpp
===================================================================
RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/richtext/richtextformatdlg.cpp,v
retrieving revision 1.12
diff -b --unified -r1.12 richtextformatdlg.cpp
--- src/richtext/richtextformatdlg.cpp	2007/03/30 13:19:43	1.12
+++ src/richtext/richtextformatdlg.cpp	2007/04/02 02:03:35
@@ -65,9 +65,9 @@
 #endif

 #if 0 // def __WXMAC__
-#define wxRICHTEXT_USE_TOOLBOOK true
+#define wxRICHTEXT_USE_TOOLBOOK 1
 #else
-#define wxRICHTEXT_USE_TOOLBOOK false
+#define wxRICHTEXT_USE_TOOLBOOK 0
 #endif

 bool wxRichTextFormattingDialog::sm_showToolTips = false;






More information about the wx-dev mailing list