compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-20 20:22:26 +00:00
parent 5b087ae258
commit 3dd570e572
2 changed files with 12 additions and 2 deletions

View File

@@ -34,6 +34,10 @@
#include "wx/dc.h"
#include "wx/renderer.h"
#ifdef __WXGTK20__
#include "wx/settings.h"
#endif // GTK 2.0
// ----------------------------------------------------------------------------
// wxRendererGTK: our wxRendererNative implementation
// ----------------------------------------------------------------------------
@@ -97,7 +101,8 @@ void
wxRendererGTK::DrawTreeItemButton(wxWindow* WXUNUSED(win),
wxDC& dc, const wxRect& rect, int flags)
{
dc.SetBrush(*m_hilightBrush);
dc.SetBrush(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT),
wxSOLID));
dc.SetPen(*wxBLACK_PEN);
wxPoint button[3];