git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14625 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
             // get the control rect in our client coords
             wxControl *control = tool->GetControl();
             wxRect rectCtrl = control->GetRect();
             // 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;
 
             // iterate over all buttons
             TBBUTTON tbb;