Warning fix (unused value assignment).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1021,14 +1021,14 @@ void wxWindowMSW::UnsubclassWin()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindowMSW::AssociateHandle(WXWidget handle)
|
void wxWindowMSW::AssociateHandle(WXWidget handle)
|
||||||
{
|
{
|
||||||
if ( m_hWnd )
|
if ( m_hWnd )
|
||||||
{
|
{
|
||||||
if ( !::DestroyWindow(GetHwnd()) )
|
if ( !::DestroyWindow(GetHwnd()) )
|
||||||
wxLogLastError(wxT("DestroyWindow"));
|
wxLogLastError(wxT("DestroyWindow"));
|
||||||
}
|
}
|
||||||
|
|
||||||
WXHWND wxhwnd = (WXHWND)handle;
|
WXHWND wxhwnd = (WXHWND)handle;
|
||||||
|
|
||||||
SetHWND(wxhwnd);
|
SetHWND(wxhwnd);
|
||||||
@@ -1036,9 +1036,9 @@ void wxWindowMSW::AssociateHandle(WXWidget handle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void wxWindowMSW::DissociateHandle()
|
void wxWindowMSW::DissociateHandle()
|
||||||
{
|
{
|
||||||
// this also calls SetHWND(0) for us
|
// this also calls SetHWND(0) for us
|
||||||
UnsubclassWin();
|
UnsubclassWin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -4183,7 +4183,7 @@ bool wxWindowMSW::HandleSize(int WXUNUSED(w), int WXUNUSED(h), WXUINT wParam)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SIZE_MAXIMIZED:
|
case SIZE_MAXIMIZED:
|
||||||
processed = HandleMaximize();
|
/* processed = */ HandleMaximize();
|
||||||
// fall through to send a normal size event as well
|
// fall through to send a normal size event as well
|
||||||
|
|
||||||
case SIZE_RESTORED:
|
case SIZE_RESTORED:
|
||||||
|
Reference in New Issue
Block a user