X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/878770b8544c70c21311d95a6bdccc839a101688..574be073c070a9bbe81ad68e98187b0b9e82c2df:/interface/wx/artprov.h diff --git a/interface/wx/artprov.h b/interface/wx/artprov.h index 182fce28e3..3701f3bdd5 100644 --- a/interface/wx/artprov.h +++ b/interface/wx/artprov.h @@ -59,7 +59,7 @@ typedef wxString wxArtID; @section artprovider_identify Identifying art resources Every bitmap and icon bundle are known to wxArtProvider under an unique ID that - is used when requesting a resource from it. The ID is represented by wxArtID type + is used when requesting a resource from it. The ID is represented by the ::wxArtID type and can have one of these predefined values (you can see bitmaps represented by these constants in the @ref page_samples_artprov): @@ -125,13 +125,14 @@ typedef wxString wxArtID; When running under GTK+ 2, GTK+ stock item IDs (e.g. @c "gtk-cdrom") may be used as well: @code - #ifdef __WXGTK__ + #ifdef __WXGTK__ wxBitmap bmp = wxArtProvider::GetBitmap("gtk-cdrom", wxART_MENU); - #endif + #endif @endcode - Additionally, if wxGTK was compiled against GTK+ >= 2.4, then it is also - possible to load icons from current icon theme by specifying their name (without - extension and directory components). + For a list of the GTK+ stock items please refer to the GTK+ documentation page + http://library.gnome.org/devel/gtk/stable/gtk-Stock-Items.html. + It is also possible to load icons from the current icon theme by specifying their name + (without extension and directory components). Icon themes recognized by GTK+ follow the freedesktop.org Icon Themes specification (see http://freedesktop.org/Standards/icon-theme-spec). Note that themes are not guaranteed to contain all icons, so wxArtProvider may @@ -162,7 +163,7 @@ typedef wxString wxArtID; identical bitmap for different client values! @library{wxcore} - @category{misc,data} + @category{misc} @see the @ref page_samples_artprov for an example of wxArtProvider usage. */