Respect alignment flags for owner-drawn buttons in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Mar 2011 11:54:26 +0000 (11:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 14 Mar 2011 11:54:26 +0000 (11:54 +0000)
commit31dcbd12ef41de81f46e09f2a1694d5f83f08cff
tree41247f296b32845e23028205e84f78a3393cb47a
parent2631773e8220c863a57beaa29eece92db31c1edf
Respect alignment flags for owner-drawn buttons in wxMSW.

Honour wxBU_{LEFT,RIGHT,TOP,BOTTOM} flags for owner drawn buttons too, this
ensures that you can both change the colour and align the text differently for
buttons under XP and later.

Closes #12995.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/button.cpp