wxComboBox appearance fixes, looks fine now but doesn't really work under GTK
yet git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -152,7 +152,11 @@ wxSize wxButton::DoGetBestClientSize() const
|
||||
|
||||
void wxButton::DoDraw(wxControlRenderer *renderer)
|
||||
{
|
||||
renderer->DrawButtonBorder();
|
||||
if ( !(GetWindowStyle() & wxBORDER_NONE) )
|
||||
{
|
||||
renderer->DrawButtonBorder();
|
||||
}
|
||||
|
||||
renderer->DrawLabel(m_bitmap, m_marginBmpX, m_marginBmpY);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user