From 372bed0a2bc1590067f2796e8480a4c75afbe26d Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 25 May 2007 20:29:14 +0000 Subject: [PATCH 1/1] compilation fix: can't use wxUniCharRef in switch statement git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/HelpGen/src/HelpGen.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index 47b9ae8726..da84564d7b 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -677,7 +677,7 @@ int main(int argc, char **argv) directoryOut = argv[current]; if ( !directoryOut.empty() ) { // terminate with a '/' if it doesn't have it - switch ( directoryOut.Last() ) { + switch ( directoryOut.Last().GetValue() ) { case '/': #ifdef __WXMSW__ case '\\': @@ -2211,6 +2211,9 @@ static const wxString GetVersionString() /* $Log$ + Revision 1.45 2007/05/25 20:29:14 VS + compilation fix: can't use wxUniCharRef in switch statement + Revision 1.44 2005/05/31 17:47:45 ABX More warning and error fixes (work in progress with Tinderbox). -- 2.47.2