]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed a bug with client rect calculation in the recent separator erasing fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Mar 2002 23:59:43 +0000 (23:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Mar 2002 23:59:43 +0000 (23:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/tbar95.cpp

index e0c800a45ad8dfb9664160b3c04333e6880c0fa1..fe3e60ea8e730803bdc00a39e252f650eaf3c943 100644 (file)
@@ -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;