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:
@@ -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
|
||||
|
Reference in New Issue
Block a user