Compile fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-08-16 17:46:28 +00:00
parent fc15b59f81
commit bf0bb41e04

View File

@@ -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