Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4134,7 +4134,8 @@ bool wxWindowMSW::HandleMaximize()
|
||||
|
||||
bool wxWindowMSW::HandleMove(int x, int y)
|
||||
{
|
||||
wxMoveEvent event(wxPoint(x, y), m_windowId);
|
||||
wxPoint point(x,y);
|
||||
wxMoveEvent event(point, m_windowId);
|
||||
event.SetEventObject(this);
|
||||
|
||||
return GetEventHandler()->ProcessEvent(event);
|
||||
@@ -4708,7 +4709,7 @@ int wxWindowMSW::HandleMenuChar(int chAccel, WXLPARAM lParam)
|
||||
// FIXME-UNICODE: this comparison doesn't risk to work
|
||||
// for non ASCII accelerator characters I'm afraid, but
|
||||
// what can we do?
|
||||
if ( wxToupper(*p) == (wchar_t)chAccel )
|
||||
if ( (wchar_t)wxToupper(*p) == (wchar_t)chAccel )
|
||||
{
|
||||
return i;
|
||||
}
|
||||
|
Reference in New Issue
Block a user