]> git.saurik.com Git - wxWidgets.git/commit - src/univ/button.cpp
Add a separate wxControlRenderer::DrawButtonLabel() too.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Sep 2009 00:23:03 +0000 (00:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Sep 2009 00:23:03 +0000 (00:23 +0000)
commitfdc468a0a6476eff5996c80580e27b506340c305
treebcd0351aca1802fc2e485f998688efd2920618de
parent2344c32b7e5872fb04a31e6f20f504d58ac7dab0
Add a separate wxControlRenderer::DrawButtonLabel() too.

wxControlRenderer::DrawLabel() was used by both wxStaticText and wxButton but
their labels may need to be drawn differently and wxRenderer does have
different DrawLabel() and DrawButtonLabel() to do it. Now also add a separate
method for the buttons to wxControlRenderer.

See #11220.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/univ/renderer.h
src/univ/button.cpp
src/univ/ctrlrend.cpp