Skip to content

Commit

Permalink
Clang build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacsv committed Jan 28, 2021
1 parent aa4ecc2 commit e46a44b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,15 +356,15 @@ class SvgParameterDialog : public ParameterDialogBase
{
context.DrawRect (CreateRect (rect), DialogDefaultPen);
context.DrawFormattedText (CreateRect (rect), DialogDefaultFont, controlText, HorizontalAnchor::Left, VerticalAnchor::Center, DialogDefaultColor);
controls.push_back ({ controlText, 0 });
controls.push_back (std::tuple<std::wstring, int> (controlText, 0));
}

virtual void AddParamComboBox (size_t, int selectedChoice, const std::vector<std::wstring>& choices, const IntRect& rect) override
{
std::wstring controlText = choices[selectedChoice];
context.DrawRect (CreateRect (rect), DialogDefaultPen);
context.DrawFormattedText (CreateRect (rect), DialogDefaultFont, controlText, HorizontalAnchor::Left, VerticalAnchor::Center, DialogDefaultColor);
controls.push_back ({ L"", selectedChoice });
controls.push_back (std::tuple<std::wstring, int> (L"", selectedChoice));
}

virtual void AddHorizontalSeparator (int x, int y, int width) override
Expand Down

0 comments on commit e46a44b

Please sign in to comment.