Document that images in buttons and menus might not be shown under GTK.

Mention gtk-{button,menu}-images GTK+ settings.

See #11369.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-03-03 01:08:19 +00:00
parent 617bcbe241
commit b3f5fbf6ea
2 changed files with 10 additions and 0 deletions

View File

@@ -83,6 +83,11 @@
The position of the image inside the button be configured using
SetBitmapPosition(). By default the image is on the left of the text.
Please also notice that GTK+ uses a global setting called @c
gtk-button-images to determine if the images should be shown in the buttons
at all. If it is off (which is the case in e.g. Gnome 2.28 by default), no
images will be shown, consistently with the native behaviour.
@library{wxcore}
@category{ctrl}
@appearance{button.png}

View File

@@ -314,6 +314,11 @@ public:
@a checked is @true (default value) or SetBitmaps(wxNullBitmap, bmp)
otherwise.
Notice that GTK+ uses a global setting called @c gtk-menu-images to
determine if the images should be shown in the menus at all. If it is
off (which is the case in e.g. Gnome 2.28 by default), no images will
be shown, consistently with the native behaviour.
@onlyfor{wxmsw,wxosx,wxgtk}
*/
virtual void SetBitmap(const wxBitmap& bmp, bool checked = true);