void SetHCURSOR(WXHCURSOR cursor);
inline WXHCURSOR GetHCURSOR() const { return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0); }
private :
- void Create(const wxImage & image) ;
+ void CreateFromImage(const wxImage & image) ;
};
extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor);
wxCursor::wxCursor( const wxImage &image )
{
- Create( image ) ;
+ CreateFromImage( image ) ;
}
-void wxCursor::Create(const wxImage & image)
+void wxCursor::CreateFromImage(const wxImage & image)
{
m_refData = new wxCursorRefData;
image.SetOption(wxCUR_HOTSPOT_X,hotSpotX ) ;
image.SetOption(wxCUR_HOTSPOT_Y,hotSpotY ) ;
delete m_refData ;
- Create(image) ;
+ CreateFromImage(image) ;
}
}
}
wxCursor::wxCursor( const wxImage &image )
{
- Create( image ) ;
+ CreateFromImage( image ) ;
}
-void wxCursor::Create(const wxImage & image)
+void wxCursor::CreateFromImage(const wxImage & image)
{
m_refData = new wxCursorRefData;
image.SetOption(wxCUR_HOTSPOT_X,hotSpotX ) ;
image.SetOption(wxCUR_HOTSPOT_Y,hotSpotY ) ;
delete m_refData ;
- Create(image) ;
+ CreateFromImage(image) ;
}
}
}