Fix wxCursor() ctor compilation by casting argument to wxStockCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1476,7 +1476,7 @@ void wxCursorProperty::OnCustomPaint( wxDC& dc,
|
|||||||
if ( cursorindex == wxCURSOR_NONE )
|
if ( cursorindex == wxCURSOR_NONE )
|
||||||
cursorindex = wxCURSOR_ARROW;
|
cursorindex = wxCURSOR_ARROW;
|
||||||
|
|
||||||
wxCursor cursor( cursorindex );
|
wxCursor cursor( (wxStockCursor)cursorindex );
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
HDC hDc = (HDC)((const wxMSWDCImpl *)dc.GetImpl())->GetHDC();
|
HDC hDc = (HDC)((const wxMSWDCImpl *)dc.GetImpl())->GetHDC();
|
||||||
|
Reference in New Issue
Block a user