Fix compilation for wxGTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1815,7 +1815,7 @@ void wxCursorProperty::OnCustomPaint( wxDC& dc,
|
|||||||
|
|
||||||
wxCursor cursor( cursorIndex );
|
wxCursor cursor( cursorIndex );
|
||||||
|
|
||||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
#if defined(__WXMSW__) || ( defined(__WXGTK__) && defined(__WXGTK20__) )
|
||||||
wxBitmap bmp(cursor);
|
wxBitmap bmp(cursor);
|
||||||
if ( bmp.IsOk() )
|
if ( bmp.IsOk() )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user