]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix: can't use wxUniCharRef in switch statement
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 25 May 2007 20:29:14 +0000 (20:29 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 25 May 2007 20:29:14 +0000 (20:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/HelpGen/src/HelpGen.cpp

index 47b9ae872603c36ea0cd4fd63b40d63a61613f49..da84564d7b1e8f83450c573811fedae745b5a418 100644 (file)
@@ -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
                         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 '\\':
                                 case '/':
 #ifdef __WXMSW__
                                 case '\\':
@@ -2211,6 +2211,9 @@ static const wxString GetVersionString()
 
 /*
    $Log$
 
 /*
    $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).
 
    Revision 1.44  2005/05/31 17:47:45  ABX
    More warning and error fixes (work in progress with Tinderbox).