}
-wxCursor::wxCursor( wxStockCursor cursorId )
+void wxCursor::InitFromStock( wxStockCursor cursorId )
{
m_refData = new wxCursorRefData();
#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
wxGDIRefData *wxCursor::CloneGDIRefData(const wxGDIRefData *data) const
{
- return new wxCursorRefData(*wx_static_cast(const wxCursorRefData *, data));
+ return new wxCursorRefData(*static_cast<const wxCursorRefData *>(data));
}
WXCursor wxCursor::GetCursor() const