From: Vadim Zeitlin Date: Mon, 25 Oct 2010 21:52:19 +0000 (+0000) Subject: Mention that resource forks are deprecated under Mac in wxCursor docs. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cc721f7dd2bfe5917c7b857b7da13c2a79fec203?ds=sidebyside Mention that resource forks are deprecated under Mac in wxCursor docs. See #12614. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/cursor.h b/interface/wx/cursor.h index 2ac82bf3b9..1a823893ce 100644 --- a/interface/wx/cursor.h +++ b/interface/wx/cursor.h @@ -140,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.