]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/combog.cpp
copy setup.h from setup0.h
[wxWidgets.git] / src / generic / combog.cpp
index 082612d098856480d0f69a5dcaebdcc48fd4fff0..56af94bb206227cd4082492f5f1f65b5e6d3d83a 100644 (file)
@@ -65,7 +65,7 @@
 #define TEXTCTRLXADJUST                 0 // position adjustment for wxTextCtrl, with zero indent
 #define TEXTCTRLYADJUST                 0
 #define TEXTXADJUST                     0 // how much is read-only text's x adjusted
-#define DEFAULT_DROPBUTTON_WIDTH        19
+#define DEFAULT_DROPBUTTON_WIDTH        22
 
 #else
 
@@ -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) )