fixed a few VC++ warnings (release mode only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -79,7 +79,7 @@ wxString wxBestHelpController::GetValidFilename( const wxString& filename ) cons
|
|||||||
return tmp + ".chm";
|
return tmp + ".chm";
|
||||||
|
|
||||||
return filename;
|
return filename;
|
||||||
break;
|
|
||||||
case wxUseHtmlHelp:
|
case wxUseHtmlHelp:
|
||||||
if( ::wxFileExists( tmp + ".htb" ) )
|
if( ::wxFileExists( tmp + ".htb" ) )
|
||||||
return tmp + ".htb";
|
return tmp + ".htb";
|
||||||
@@ -89,12 +89,11 @@ wxString wxBestHelpController::GetValidFilename( const wxString& filename ) cons
|
|||||||
return tmp + ".hhp";
|
return tmp + ".hhp";
|
||||||
|
|
||||||
return filename;
|
return filename;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
// we CAN'T get here
|
// we CAN'T get here
|
||||||
wxFAIL_MSG( wxT("wxBestHelpController: Must call Initialize, first!") );
|
wxFAIL_MSG( wxT("wxBestHelpController: Must call Initialize, first!") );
|
||||||
return wxEmptyString;
|
return wxEmptyString;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user