]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/combog.cpp
don't use deprecated toolbar API
[wxWidgets.git] / src / generic / combog.cpp
index f2cb9abf6789915269f1095d50e8901b1087a2c5..092e3e75dd3671542ab4710f45acbf42822e8363 100644 (file)
@@ -237,7 +237,7 @@ void wxGenericComboCtrl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) )
         // Set border colour
         wxPen pen1( wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT),
                     customBorder,
-                    wxSOLID );
+                    wxPENSTYLE_SOLID);
         dc.SetPen( pen1 );
 
         // area around both controls