X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ef5b1dad1f5d18309d0fdc0b36ad383b58f1a2e..89c33c4831a62c628ebdbba02c2c05ec6b9169c0:/src/motif/cursor.cpp diff --git a/src/motif/cursor.cpp b/src/motif/cursor.cpp index 41deb27462..68f66e43e2 100644 --- a/src/motif/cursor.cpp +++ b/src/motif/cursor.cpp @@ -23,6 +23,7 @@ #include "wx/utils.h" #include "wx/window.h" #include "wx/image.h" + #include "wx/log.h" #endif #ifdef __VMS__ @@ -239,13 +240,14 @@ void wxCursor::Create(WXPixmap pixmap, WXPixmap mask_pixmap, } wxCursor::wxCursor(const char bits[], int width, int height, - int hotSpotX, int hotSpotY, const char maskBits[]) + int hotSpotX, int hotSpotY, const char maskBits[] , + const wxColour* WXUNUSED(fg), const wxColour* WXUNUSED(bg) ) { Create(bits, width, height, hotSpotX, hotSpotY, maskBits); } -wxCursor::wxCursor(const wxString& name, wxBitmapType type, int hotSpotX, int hotSpotY, - const wxColour* WXUNUSED(fg), const wxColour* WXUNUSED(bg)) +wxCursor::wxCursor(const wxString& name, wxBitmapType type, int hotSpotX, + int hotSpotY ) { // Must be an XBM file if (type != wxBITMAP_TYPE_XBM) { @@ -304,7 +306,7 @@ wxGDIRefData *wxCursor::CreateGDIRefData() const wxGDIRefData *wxCursor::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxCursorRefData(*wx_static_cast(const wxCursorRefData *, data)); + return new wxCursorRefData(*static_cast(data)); } // Motif-specific: create/get a cursor for the current display