From bf0bb41e04c48cbf95dfee9fbeab386e91d045ca Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 16 Aug 2007 17:46:28 +0000 Subject: [PATCH] Compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/auibook.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index a030ea6c0b..08f5caa01a 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -124,7 +124,7 @@ static void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags ::DrawFocusRect(GetHdcOf(dc), &rc); -#elif __WXGTK20__ +#elif defined(__WXGTK20__) GdkWindow* gdk_window = dc.GetGDKWindow(); wxASSERT_MSG( gdk_window, wxT("cannot draw focus rectangle on wxDC of this type") ); @@ -160,7 +160,7 @@ static void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags x2 = rect.GetRight(), y2 = rect.GetBottom(); - dc.SetPen(m_penBlack); + dc.SetPen(*wxBLACK_PEN); // this seems to be closer than what Windows does than wxINVERT although // I'm still not sure if it's correct