]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxCursor() ctor compilation by casting argument to wxStockCursor
authorJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 25 Sep 2008 16:11:58 +0000 (16:11 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Thu, 25 Sep 2008 16:11:58 +0000 (16:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/advprops.cpp

index 686244e9be966f4c1ab9d51947228ccad4319366..25e94479e028e88b50ca8adf235e33e9e1de2a67 100644 (file)
@@ -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();