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:
Stefan Csomor 2003-01-16 06:53:32 +00:00
parent 22ab1509cd
commit ce72eadb4d
3 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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) ;
}
}
}

View File

@ -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) ;
}
}
}