From 47ac6fbd59c934d7a49139e8f57a1dd31b4336b7 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 7 Nov 2014 13:08:48 +0000 Subject: [PATCH] Fix compilation for wxGTK1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/propgrid/advprops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index 84c14fd2e1..807b1509d8 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -1815,7 +1815,7 @@ void wxCursorProperty::OnCustomPaint( wxDC& dc, wxCursor cursor( cursorIndex ); -#if defined(__WXMSW__) || defined(__WXGTK__) +#if defined(__WXMSW__) || ( defined(__WXGTK__) && defined(__WXGTK20__) ) wxBitmap bmp(cursor); if ( bmp.IsOk() ) {