Warning fix

This commit is contained in:
Twan van Laarhoven
2020-04-21 21:52:05 +02:00
parent a6cd6c2dd0
commit be4bb8d8ed
+1 -1
View File
@@ -43,7 +43,7 @@ Rotation ValueViewer::getRotation() const {
// on windows, wxDOT is not actually dotted, so use a custom style to achieve that
static wxDash dashes_dotted[] = { 0,2 };
wxPen dotted_pen(wxColour const& color) {
wxPen pen(color, 1, wxUSER_DASH);
wxPen pen(color, 1, wxPENSTYLE_USER_DASH);
pen.SetDashes(2, dashes_dotted);
return pen;
}