X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc721f7dd2bfe5917c7b857b7da13c2a79fec203..ab9d6a4c8b9ba090b5b8c77c4afbbbe4043030a1:/interface/wx/cursor.h diff --git a/interface/wx/cursor.h b/interface/wx/cursor.h index 1a823893ce..67714c5a87 100644 --- a/interface/wx/cursor.h +++ b/interface/wx/cursor.h @@ -178,8 +178,15 @@ public: foreground and background. In any case, the cursor will be displayed at the size of the image. - In wxMac, if the cursor is larger than 16x16 it is resized and - currently only shown as black/white (mask respected). + Under wxMac (Cocoa), large cursors are supported. + + Notice that the @a image can define the cursor hot spot. To set it you + need to use wxImage::SetOption() with @c wxIMAGE_OPTION_CUR_HOTSPOT_X + or @c wxIMAGE_OPTION_CUR_HOTSPOT_Y, e.g. + @code + image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X, hotSpotX); + image.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X, hotSpotY); + @endcode */ wxCursor(const wxImage& image);