More tweaks to wxMicroWi

More tweaks to MicroWindows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-12-22 19:43:44 +00:00
parent a9249b2eb2
commit 62e1ba759a
12 changed files with 219 additions and 29 deletions

View File

@@ -154,10 +154,12 @@ void wxCheckBox::DoDraw(wxControlRenderer *renderer)
if ( m_status == Status_Checked )
flags |= wxCONTROL_CHECKED;
wxBitmap bitmap(GetBitmap(GetState(flags), m_status));
renderer->GetRenderer()->
DrawCheckButton(dc,
GetLabel(),
GetBitmap(GetState(flags), m_status),
bitmap,
renderer->GetRect(),
flags,
GetWindowStyle() & wxALIGN_RIGHT ? wxALIGN_RIGHT