#endif
#include "wx/renderer.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/window.h"
+ #include "wx/dc.h"
+ #include "wx/dcclient.h"
+ #include "wx/settings.h"
+#endif
+
#include <gtk/gtk.h>
#include "wx/gtk/win_gtk.h"
-#include "wx/window.h"
-#include "wx/dc.h"
-#include "wx/dcclient.h"
-#include "wx/settings.h"
-
// RR: After a correction to the orientation of the sash
// this doesn't seem to be required anymore and it
// seems to confuse some themes so USE_ERASE_RECT=0
DrawDropArrow(win,dc,rect);
}
-void
+void
wxRendererGTK::DrawCheckBox(wxWindow *win,
wxDC& dc,
const wxRect& rect,
NULL,
button,
"cellcheck",
- dc.LogicalToDeviceX(rect.x)+2,
- dc.LogicalToDeviceY(rect.y)+3,
+ dc.LogicalToDeviceX(rect.x)+2,
+ dc.LogicalToDeviceY(rect.y)+3,
13, 13
);
}
);
}
-void
+void
wxRendererGTK::DrawItemSelectionRect(wxWindow *win,
- wxDC& dc,
- const wxRect& rect,
- int flags )
+ wxDC& dc,
+ const wxRect& rect,
+ int flags )
{
// for reason why we do this, see DrawDropArrow
wxWindowDC& wdc = (wxWindowDC&)dc;
GTK_PIZZA(win->m_wxwindow)->bin_window,
state,
GTK_SHADOW_NONE,
- NULL,
+ NULL,
win->m_wxwindow,
"treeview",
dc.LogicalToDeviceX(rect.x),