X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/170acdc90e9f92f8b8120fa6c04acdbf45c89582..ccc7fbfaedcd18ed5966cce45e80ce71f7057d50:/src/generic/combog.cpp diff --git a/src/generic/combog.cpp b/src/generic/combog.cpp index 082612d098..ad7874f22c 100644 --- a/src/generic/combog.cpp +++ b/src/generic/combog.cpp @@ -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) )