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}
*/
wxBitmap GetBitmapPressed() const;
+ /**
+ Get the margins between the bitmap and the text of the button.
+
+ @see SetBitmapMargins()
+
+ @since 2.9.1
+ */
+ wxSize GetBitmapMargins();
+
/**
Returns the default size for the buttons. It is advised to make all the dialog
buttons of the same size and this function allows to retrieve the (platform and