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:
Włodzimierz Skiba
2004-09-16 16:44:30 +00:00
parent 569ef72a4d
commit a4d1972da4

View File

@@ -1021,14 +1021,14 @@ void wxWindowMSW::UnsubclassWin()
}
}
void wxWindowMSW::AssociateHandle(WXWidget handle)
void wxWindowMSW::AssociateHandle(WXWidget handle)
{
if ( m_hWnd )
{
if ( !::DestroyWindow(GetHwnd()) )
wxLogLastError(wxT("DestroyWindow"));
}
WXHWND wxhwnd = (WXHWND)handle;
SetHWND(wxhwnd);
@@ -1036,9 +1036,9 @@ void wxWindowMSW::AssociateHandle(WXWidget handle)
}
void wxWindowMSW::DissociateHandle()
{
{
// 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;
case SIZE_MAXIMIZED:
processed = HandleMaximize();
/* processed = */ HandleMaximize();
// fall through to send a normal size event as well
case SIZE_RESTORED: