]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for WXWIN_COMPATIBILITY_2 == 1
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 6 Feb 2003 00:51:15 +0000 (00:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 6 Feb 2003 00:51:15 +0000 (00:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/cursor.cpp

index f1bbdb1336bb110262881d1ca87a20ac7c65c7db..4ccdedbe1e30c38160c24cf93f617b3f39568708 100644 (file)
@@ -368,7 +368,7 @@ wxCursor::wxCursor(const wxString& filename,
         m_refData = new wxCursorRefData(hcursor, true /* delete it later */);
 
 #if WXWIN_COMPATIBILITY_2
-        refData->SetOk();
+        ((wxCursorRefData *)m_refData)->SetOk();
 #endif // WXWIN_COMPATIBILITY_2
     }
 }