mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
Warning fix
This commit is contained in:
@@ -43,7 +43,7 @@ Rotation ValueViewer::getRotation() const {
|
|||||||
// on windows, wxDOT is not actually dotted, so use a custom style to achieve that
|
// on windows, wxDOT is not actually dotted, so use a custom style to achieve that
|
||||||
static wxDash dashes_dotted[] = { 0,2 };
|
static wxDash dashes_dotted[] = { 0,2 };
|
||||||
wxPen dotted_pen(wxColour const& color) {
|
wxPen dotted_pen(wxColour const& color) {
|
||||||
wxPen pen(color, 1, wxUSER_DASH);
|
wxPen pen(color, 1, wxPENSTYLE_USER_DASH);
|
||||||
pen.SetDashes(2, dashes_dotted);
|
pen.SetDashes(2, dashes_dotted);
|
||||||
return pen;
|
return pen;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user