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:
@@ -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
|
||||
|
Reference in New Issue
Block a user