minor tweaks to alignment styles documentation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-06-15 23:18:06 +00:00
parent a6fd73d33a
commit 0f5fe33282
2 changed files with 10 additions and 9 deletions

View File

@@ -31,6 +31,14 @@
Creates a flat button. Windows and GTK+ only.
@endStyleTable
By default, i.e. if none of the alignment styles are specified, the label
is centered both horizontally and vertically. If the button has both a
label and a bitmap, the alignment styles above specify the location of the
rectangle combining both the label and the bitmap and the bitmap position
set with wxButton::SetBitmapPosition() defines the relative position of the
bitmap with respect to the label (however currently non-default alignment
combinations are not implemented on all platforms).
@beginEventEmissionTable{wxCommandEvent}
@event{EVT_BUTTON(id, func)}
Process a wxEVT_COMMAND_BUTTON_CLICKED event, when the button is clicked.