[Git][wxwidgets/wxwidgets][master] Suppress deprecated-declarations warnings

1 view
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Jul 9, 2025, 1:46:35 PMJul 9
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • 09f433fa
    by Paul Cornett at 2025-07-09T10:40:48-07:00
    Suppress deprecated-declarations warnings
    

1 changed file:

Changes:

  • src/gtk/slider.cpp
    ... ... @@ -425,8 +425,10 @@ bool wxSlider::Create(wxWindow *parent,
    425 425
                 else
    
    426 426
                     (style & wxSL_TOP ? margin.top : margin.bottom) = extraSide;
    
    427 427
             }
    
    428
    +        wxGCC_WARNING_SUPPRESS(deprecated-declarations)
    
    428 429
             gtk_widget_set_margin_left(m_scale, margin.left);
    
    429 430
             gtk_widget_set_margin_right(m_scale, margin.right);
    
    431
    +        wxGCC_WARNING_RESTORE()
    
    430 432
             gtk_widget_set_margin_top(m_scale, margin.top);
    
    431 433
             gtk_widget_set_margin_bottom(m_scale, margin.bottom);
    
    432 434
         }
    


View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help Notification message regarding https://gitlab.com/wxwidgets/wxwidgets/-/commit/09f433faf39aab3f25b3c564b82448bb845fae56 at 1752083192

Reply all
Reply to author
Forward
0 new messages