From bd3d0bb953c40dee9cef399cb493c7f8aec260d0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 15 Mar 2002 23:59:43 +0000 Subject: [PATCH] fixed a bug with client rect calculation in the recent separator erasing fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/tbar95.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index e0c800a45a..fe3e60ea8e 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -1136,8 +1136,6 @@ bool wxToolBar::HandlePaint(WXWPARAM wParam, WXLPARAM lParam) // get the control rect in our client coords wxControl *control = tool->GetControl(); wxRect rectCtrl = control->GetRect(); - control->ClientToScreen(&rectCtrl.x, &rectCtrl.y); - ScreenToClient(&rectCtrl.x, &rectCtrl.y); // iterate over all buttons TBBUTTON tbb;