#include "wx/generic/treectlg.h"
+#ifdef __WXMSW__
+#include "windows.h"
+#include "wx/msw/winundef.h"
+#endif
+
#include "splittree.h"
/*
scrolledWindow->GetScrollPixelsPerUnit(& xppu2, & yppu2);
dc.SetDeviceOrigin( -startX * xppu1, -startY * yppu2 );
- dc.SetUserScale( win->GetScaleX(), win->GetScaleY() );
+ //dc.SetUserScale( win->GetScaleX(), win->GetScaleY() );
}
}
if (!m_treeCtrl)
return;
- wxPen pen(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID);
+ wxPen pen(wxColour(_T("BLACK")), 1, wxSOLID);
dc.SetPen(pen);
dc.SetBrush(* wxTRANSPARENT_BRUSH);
wxFont font(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
int orient = event.GetOrientation();
- int nScrollInc = CalcScrollInc(event);
+ int nScrollInc = 16;// FIXME CalcScrollInc(event);
if (nScrollInc == 0)
{
inOnScroll = FALSE;