Use non-deprecated pen and brush style constants in wxOSX code.
Use wx{PEN,BRUSH}STYLE_{SOLID,TRANSPARENT} instead of the old wx{SOLID,TRANSPARENT}. Closes #16269. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -252,7 +252,7 @@ void wxGenericComboCtrl::OnPaintEvent( wxPaintEvent& WXUNUSED(event) )
|
||||
#ifdef __WXMAC__
|
||||
wxPen pen1( wxColour(133,133,133),
|
||||
customBorder,
|
||||
wxSOLID );
|
||||
wxPENSTYLE_SOLID );
|
||||
#else
|
||||
wxPen pen1( wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT),
|
||||
customBorder,
|
||||
|
Reference in New Issue
Block a user