- Icon type to load. Under Motif, type defaults to wxBITMAP_TYPE_XBM.
- Under Windows, it defaults to wxBITMAP_TYPE_CUR_RESOURCE. Under
- MacOS, it defaults to wxBITMAP_TYPE_MACCURSOR_RESOURCE.
- Under X, the permitted cursor types are:
- <ul>
- <li>wxBITMAP_TYPE_XBM - Load an X bitmap file.</li>
- </ul>
- Under Windows, the permitted types are:
- - wxBITMAP_TYPE_CUR - Load a cursor from a .cur cursor file (only
- if USE_RESOURCE_LOADING_IN_MSW is enabled in
- setup.h).
- - wxBITMAP_TYPE_CUR_RESOURCE - Load a Windows resource (as
- specified in the .rc file).
- - wxBITMAP_TYPE_ICO - Load a cursor from a .ico icon file (only if
- USE_RESOURCE_LOADING_IN_MSW is enabled in
- setup.h). Specify @a hotSpotX and @a hotSpotY.
+ Icon type to load. It defaults to @c wxCURSOR_DEFAULT_TYPE,
+ which is a @#define associated to different values on different
+ platforms:
+ - under Windows, it defaults to @c wxBITMAP_TYPE_CUR_RESOURCE.
+ Other permitted types under Windows are @c wxBITMAP_TYPE_CUR
+ (to load a cursor from a .cur cursor file) and @c wxBITMAP_TYPE_ICO
+ (to load a cursor from a .ico icon file).
+ - 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. 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.
+ - under Motif, it defaults to @c wxBITMAP_TYPE_XBM.