Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-09-27 11:57:12 +00:00
parent 81e4cb8bdf
commit 93b9de865c

View File

@@ -2949,6 +2949,8 @@ void wxFrameManager::OnFloatingPaneMoving(wxWindow* wnd, wxDirection dir)
pos = wnd->ClientToScreen( pos ); pos = wnd->ClientToScreen( pos );
pt.y = pos.y; pt.y = pos.y;
} }
#else
wxUnusedVar(dir);
#endif #endif
wxPoint client_pt = m_frame->ScreenToClient(pt); wxPoint client_pt = m_frame->ScreenToClient(pt);
@@ -3050,6 +3052,8 @@ void wxFrameManager::OnFloatingPaneMoved(wxWindow* wnd, wxDirection dir)
pos = wnd->ClientToScreen( pos ); pos = wnd->ClientToScreen( pos );
pt.y = pos.y; pt.y = pos.y;
} }
#else
wxUnusedVar(dir);
#endif #endif
wxPoint client_pt = m_frame->ScreenToClient(pt); wxPoint client_pt = m_frame->ScreenToClient(pt);