From a4d1972da43140b6c678077921a0e84596e68f59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 16 Sep 2004 16:44:30 +0000 Subject: [PATCH] Warning fix (unused value assignment). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index ede0741c54..f935180fc5 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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: -- 2.45.2