don't try to resize the bitmap buttons with wxBORDER_NONE style to one of the standard sizes, this results in more problems than it solves and still doesn't look good; document wxBORDER_NONE semantics under Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-06-20 20:05:52 +00:00
parent 8f2a8de6e7
commit 6398a32d3b
2 changed files with 96 additions and 110 deletions

View File

@@ -33,7 +33,11 @@
without using this style a button which is only supposed to show a
bitmap but uses a standard id would display a label too.
@style{wxBORDER_NONE}
Creates a flat button. Windows and GTK+ only.
Creates a button without border. This is currently implemented in MSW,
GTK2 and OSX ports but in the latter only applies to buttons with
bitmaps and using bitmap of one of the standard sizes only, namely
128*128, 48*48, 24*24 or 16*16. In all the other cases wxBORDER_NONE is
ignored under OSX.
@endStyleTable
By default, i.e. if none of the alignment styles are specified, the label