]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/cursor.cpp
no need to iterate over all special icon names after a match was found, there won...
[wxWidgets.git] / src / x11 / cursor.cpp
index 2650afcfab21cc7b73422eca4aa63e21743daddc..354e8dc8dd06a0120650b292ff347dda596538aa 100644 (file)
@@ -66,7 +66,7 @@ wxCursor::wxCursor()
 
 }
 
-wxCursor::wxCursor( wxStockCursor cursorId )
+void wxCursor::InitFromStock( wxStockCursor cursorId )
 {
     m_refData = new wxCursorRefData();
 
@@ -124,13 +124,11 @@ wxCursor::wxCursor( wxStockCursor cursorId )
 #endif
 }
 
-wxCursor::wxCursor(const char WXUNUSED(bits)[],
-                   int WXUNUSED(width), int WXUNUSED(height),
-                   int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY),
-                   const char WXUNUSED(maskBits)[],
-                   wxColour *WXUNUSED(fg), wxColour *WXUNUSED(bg))
+wxCursor::wxCursor(const wxString& name,
+                    wxBitmapType type,
+                    int hotSpotX, int hotSpotY)
 {
-   wxFAIL_MSG( wxT("wxCursor creation from bits not yet implemented") );
+   wxFAIL_MSG( wxT("wxCursor creation from file not yet implemented") );
 }
 
 #if wxUSE_IMAGE