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
This commit is contained in:
Václav Slavík
2007-05-25 20:29:14 +00:00
parent 4b57db792c
commit 372bed0a2b

View 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
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).