]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/splittree.cpp
compilation/build fixes for wxUniv
[wxWidgets.git] / contrib / utils / wxrcedit / splittree.cpp
index cb4ab5f7c2ccedbbd68d9e4cffce8ad9000ab343..b2796bd6ee67dda8f1c62850fee39c958c3cae73 100644 (file)
 
 #include "wx/generic/treectlg.h"
 
+#ifdef __WXMSW__
+#include "windows.h"
+#include "wx/msw/winundef.h"
+#endif
+
 #include "splittree.h"
 
 /*
@@ -170,7 +175,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 +581,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;