Build fix from FM (cascade from object.h changes making wxObjectRefData destructor private)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Hock
2007-02-24 02:49:41 +00:00
parent 5d3f234b6b
commit 701bc6cab5

View File

@@ -501,7 +501,8 @@ wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int ho
{
image.SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX ) ;
image.SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_Y, hotSpotY ) ;
delete m_refData ;
m_refData->DecRef() ;
m_refData = NULL ;
CreateFromImage( image ) ;
}
#endif