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:
@@ -677,7 +677,7 @@ int main(int argc, char **argv)
|
|||||||
directoryOut = argv[current];
|
directoryOut = argv[current];
|
||||||
if ( !directoryOut.empty() ) {
|
if ( !directoryOut.empty() ) {
|
||||||
// terminate with a '/' if it doesn't have it
|
// terminate with a '/' if it doesn't have it
|
||||||
switch ( directoryOut.Last() ) {
|
switch ( directoryOut.Last().GetValue() ) {
|
||||||
case '/':
|
case '/':
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
case '\\':
|
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
|
Revision 1.44 2005/05/31 17:47:45 ABX
|
||||||
More warning and error fixes (work in progress with Tinderbox).
|
More warning and error fixes (work in progress with Tinderbox).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user