fixes for harmless mingw32 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -352,7 +352,7 @@ wxString wxExpandEnvVars(const wxString& str)
|
|||||||
|
|
||||||
// check the closing bracket
|
// check the closing bracket
|
||||||
if ( bracket != Bracket_None ) {
|
if ( bracket != Bracket_None ) {
|
||||||
if ( m == str.Len() || str[m] != (char)bracket ) {
|
if ( m == str.Len() || str[m] != (wxChar)bracket ) {
|
||||||
// under MSW it's common to have '%' characters in the registry
|
// under MSW it's common to have '%' characters in the registry
|
||||||
// and it's annoying to have warnings about them each time, so
|
// and it's annoying to have warnings about them each time, so
|
||||||
// ignroe them silently if they are not used for env vars
|
// ignroe them silently if they are not used for env vars
|
||||||
|
@@ -4720,7 +4720,7 @@ int wxWindowMSW::HandleMenuChar(int chAccel, WXLPARAM lParam)
|
|||||||
// FIXME-UNICODE: this comparison doesn't risk to work
|
// FIXME-UNICODE: this comparison doesn't risk to work
|
||||||
// for non ASCII accelerator characters I'm afraid, but
|
// for non ASCII accelerator characters I'm afraid, but
|
||||||
// what can we do?
|
// what can we do?
|
||||||
if ( wxToupper(*p) == chAccel )
|
if ( wxToupper(*p) == (wchar_t)chAccel )
|
||||||
{
|
{
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user