X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6764050d805a7e7575ba7126e2f78bd64db8117..3399af21d10d3f8ce4f39dfb29df5546ab265ef6:/interface/wx/cursor.h diff --git a/interface/wx/cursor.h b/interface/wx/cursor.h index 7c778ab81e..1a823893ce 100644 --- a/interface/wx/cursor.h +++ b/interface/wx/cursor.h @@ -3,7 +3,7 @@ // Purpose: interface of wxCursor // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -111,6 +111,10 @@ public: Bits for a mask bitmap. @onlyfor{wxgtk,wxmotif} + + @beginWxPerlOnly + In wxPerl use Wx::Cursor->newData(bits, width, height, hotSpotX = -1, hotSpotY = -1, maskBits = 0). + @endWxPerlOnly */ wxCursor(const char bits[], int width, int height, int hotSpotX = -1, int hotSpotY = -1, @@ -136,7 +140,9 @@ public: - under MacOS, it defaults to @c wxBITMAP_TYPE_MACCURSOR_RESOURCE; when specifying a string resource name, first the color cursors 'crsr' and then the black/white cursors 'CURS' in the resource chain are scanned - through. + through. Note that resource forks are deprecated on OS X so this + is only available for legacy reasons and should not be used in + new code. - under GTK, it defaults to @c wxBITMAP_TYPE_XPM. See the wxCursor(const wxImage& image) ctor for more info. - under X11, it defaults to @c wxBITMAP_TYPE_XPM.