X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3399051ee9fa4dfa5fa7ac2dd9034062f4414d64..24e97652b0f3a5796c3fab61d87b1f636d64ce79:/include/wx/motif/cursor.h diff --git a/include/wx/motif/cursor.h b/include/wx/motif/cursor.h index fd5e67dcfa..d5ccf28f7a 100644 --- a/include/wx/motif/cursor.h +++ b/include/wx/motif/cursor.h @@ -32,8 +32,9 @@ public: // Copy constructors wxCursor(const wxCursor& cursor) { Ref(cursor); } - wxCursor(const char bits[], int width, int height, int hotSpotX = -1, int hotSpotY = -1, - const char maskBits[] = NULL); + wxCursor(const char bits[], int width, int height, + int hotSpotX = -1, int hotSpotY = -1, + const char maskBits[] = NULL); wxCursor(const wxString& name, long flags = wxBITMAP_TYPE_XBM, int hotSpotX = 0, int hotSpotY = 0); @@ -58,6 +59,11 @@ public: // Create/get a cursor for the current display WXCursor GetXCursor(WXDisplay* display) ; private: + void Create(const char bits[], int width, int height, + int hotSpotX = -1, int hotSpotY = -1, + const char maskBits[] = NULL); + void Create(WXPixmap cursor, WXPixmap mask, int hotSpotX, int hotSpotY); + // Make a cursor from standard id WXCursor MakeCursor(WXDisplay* display, wxStockCursor id); };