]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbar95.cpp
let the popup listbox process the kbd messages in wxComboBox
[wxWidgets.git] / 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;