From b1f5203a084c20339caeef8059a3208eb1f78ac0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Jul 2020 17:25:20 +0200 Subject: [PATCH] Add an explicit #warning for missing dashes support in wxX11 wxDC This is better than warnings about unused dash-related variables. --- src/x11/dcclient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x11/dcclient.cpp b/src/x11/dcclient.cpp index 4ffef1b17e..b3f7d8c8c5 100644 --- a/src/x11/dcclient.cpp +++ b/src/x11/dcclient.cpp @@ -1965,6 +1965,10 @@ void wxWindowDCImpl::SetPen( const wxPen &pen ) } } + wxUnusedVar(req_dash); + wxUnusedVar(req_nb_dash); + #warning "TODO: support for dashed lines in wxX11" + int capStyle = CapRound; switch (m_pen.GetCap()) {