]> git.saurik.com Git - wxWidgets.git/commitdiff
renaming because of conflicts with base Create::
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 16 Jan 2003 06:53:32 +0000 (06:53 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 16 Jan 2003 06:53:32 +0000 (06:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/cursor.h
src/mac/carbon/cursor.cpp
src/mac/cursor.cpp

index 05355d131c463c7f5aaccd1eab890bda16edbb84..b4088cc0fc7714da18053e4e52f5709dd8a3b7b7 100644 (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);
index f847f34161299643283737e7af9328aa762a8fd9..ad1d54abb0a133b48ec5c39e317cca3917ca033f 100644 (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) ;
         }
     }
 }
index f847f34161299643283737e7af9328aa762a8fd9..ad1d54abb0a133b48ec5c39e317cca3917ca033f 100644 (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) ;
         }
     }
 }