X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a62da4c56f4bbfcd42ba85ba2a7b0dc6c5bc2af9..9d8c2f419f522408a922277df330d4c4511befb9:/contrib/utils/wxrcedit/splittree.cpp diff --git a/contrib/utils/wxrcedit/splittree.cpp b/contrib/utils/wxrcedit/splittree.cpp index cb4ab5f7c2..86d385dedb 100644 --- a/contrib/utils/wxrcedit/splittree.cpp +++ b/contrib/utils/wxrcedit/splittree.cpp @@ -170,7 +170,7 @@ void wxRemotelyScrolledTreeCtrl::PrepareDC(wxDC& dc) scrolledWindow->GetScrollPixelsPerUnit(& xppu2, & yppu2); dc.SetDeviceOrigin( -startX * xppu1, -startY * yppu2 ); - dc.SetUserScale( win->GetScaleX(), win->GetScaleY() ); + //dc.SetUserScale( win->GetScaleX(), win->GetScaleY() ); } } @@ -576,7 +576,7 @@ void wxSplitterScrolledWindow::OnScroll(wxScrollWinEvent& event) int orient = event.GetOrientation(); - int nScrollInc = CalcScrollInc(event); + int nScrollInc = 16;// FIXME CalcScrollInc(event); if (nScrollInc == 0) { inOnScroll = FALSE;