Ticket #11086: filezilla_wxDOT.patch

File filezilla_wxDOT.patch, 842 bytes (added by Tommy Wu, 8 years ago)

remove wxDOT deprecation warning

  • filezilla/src/interface/customheightlistctrl.cpp

    old new  
    7171
    7272    for (auto const& selected : m_selectedLines) {
    7373        if (selected == m_focusedLine) {
    74             dc.SetPen(wxPen(wxColour(0, 0, 0), 1, wxDOT));
     74            dc.SetPen(wxPen(wxColour(0, 0, 0), 1, wxPENSTYLE_DOT));
    7575        }
    7676        else {
    7777            dc.SetPen(*wxTRANSPARENT_PEN);
     
    8080    }
    8181    if (m_focusedLine != npos && m_selectedLines.find(m_focusedLine) == m_selectedLines.end()) {
    8282        dc.SetBrush(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW)));
    83         dc.SetPen(wxPen(wxColour(0, 0, 0), 1, wxDOT));
     83        dc.SetPen(wxPen(wxColour(0, 0, 0), 1, wxPENSTYLE_DOT));
    8484        dc.DrawRectangle(0, m_lineHeight * m_focusedLine, size.GetWidth(), m_lineHeight);
    8585    }
    8686}