Fix tons of warnings in wxMSW after deprecating wxPen/wxBrush int styles &c.
Replacement of FUTURE_WXWIN_COMPATIBILITY_3_0 with WXWIN_COMPATIBILITY_3_0 in r75532 resulted in tons of warnings as all code using wxSOLID and similar constants now uses the deprecated methods taking int instead of the preferred ones taking wx{Pen,Brush}Style (and similarly for wxFont{Style,Weight,Family}). Fix all of them but this also would seem to mean that this change might not be such a good idea at all. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2449,7 +2449,7 @@ void wxGrid::Init()
|
||||
m_attrCache.attr = NULL;
|
||||
|
||||
m_labelFont = GetFont();
|
||||
m_labelFont.SetWeight( wxBOLD );
|
||||
m_labelFont.SetWeight( wxFONTWEIGHT_BOLD );
|
||||
|
||||
m_rowLabelHorizAlign = wxALIGN_CENTRE;
|
||||
m_rowLabelVertAlign = wxALIGN_CENTRE;
|
||||
|
Reference in New Issue
Block a user