]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/combog.cpp
Trailing newline.
[wxWidgets.git] / src / generic / combog.cpp
index 082612d098856480d0f69a5dcaebdcc48fd4fff0..ad7874f22c8a1e99ff423ad4b2b9281d89cec6e7 100644 (file)
@@ -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) )