renaming because of conflicts with base Create::
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
22ab1509cd
commit
ce72eadb4d
@ -74,7 +74,7 @@ public:
|
||||
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);
|
||||
|
@ -81,10 +81,10 @@ wxCursor::wxCursor(const char WXUNUSED(bits)[], int WXUNUSED(width), int WXUNUSE
|
||||
|
||||
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;
|
||||
|
||||
@ -187,7 +187,7 @@ wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int ho
|
||||
image.SetOption(wxCUR_HOTSPOT_X,hotSpotX ) ;
|
||||
image.SetOption(wxCUR_HOTSPOT_Y,hotSpotY ) ;
|
||||
delete m_refData ;
|
||||
Create(image) ;
|
||||
CreateFromImage(image) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -81,10 +81,10 @@ wxCursor::wxCursor(const char WXUNUSED(bits)[], int WXUNUSED(width), int WXUNUSE
|
||||
|
||||
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;
|
||||
|
||||
@ -187,7 +187,7 @@ wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int ho
|
||||
image.SetOption(wxCUR_HOTSPOT_X,hotSpotX ) ;
|
||||
image.SetOption(wxCUR_HOTSPOT_Y,hotSpotY ) ;
|
||||
delete m_refData ;
|
||||
Create(image) ;
|
||||
CreateFromImage(image) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user