Improve wxCollapsiblePane appearance under OS X.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Oct 2009 16:25:43 +0000 (16:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Oct 2009 16:25:43 +0000 (16:25 +0000)
commit73b1b99623b149651ed0beb3701dd81f00ee2def
tree14d171318eaa108a05e1a1e5fea6dea40c077d4a
parent3d35ec88d9bd802d7a36c7cc3f352eb7955f2526
Improve wxCollapsiblePane appearance under OS X.

By default, don't use border in wxDisclosureTriangle because the native
applications do not. However do honour wxBORDER_XXX style if specified in case
this becomes useful in the future (this required no effort as the code was
already there for bitmap buttons and just had to be extracted into a reusable
function).

Don't expand the disclosure triangle in wxCollapsiblePane sizer, as this
resulted in the text being centered instead of remaining left-aligned.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/button.h
src/generic/collpaneg.cpp
src/osx/cocoa/button.mm