changed last DrawButton() parameter from bool to int to allow for future extensions (patch 1595264)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -276,8 +276,10 @@ void wxGenericComboCtrl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) )
|
||||
dc.DrawRectangle(rect);
|
||||
|
||||
if ( !m_btn )
|
||||
{
|
||||
// Standard button rendering
|
||||
DrawButton(dc,rectb,true);
|
||||
DrawButton(dc,rectb);
|
||||
}
|
||||
|
||||
// paint required portion on the control
|
||||
if ( (!m_text || m_widthCustomPaint) )
|
||||
|
||||
Reference in New Issue
Block a user