diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index 686244e9be..25e94479e0 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -1476,7 +1476,7 @@ void wxCursorProperty::OnCustomPaint( wxDC& dc, if ( cursorindex == wxCURSOR_NONE ) cursorindex = wxCURSOR_ARROW; - wxCursor cursor( cursorindex ); + wxCursor cursor( (wxStockCursor)cursorindex ); #ifdef __WXMSW__ HDC hDc = (HDC)((const wxMSWDCImpl *)dc.GetImpl())->GetHDC();