X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7509fa8caa43a1327175dd5fa8b7caf6b647e81b..4fa0a5b44341885a0886f2ae6723d2441bd1f62f:/src/msw/tbar95.cpp 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;