summaryrefslogtreecommitdiff
path: root/wx+/font_size.h
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/font_size.h')
-rw-r--r--wx+/font_size.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/font_size.h b/wx+/font_size.h
index d25dfede..da74eada 100644
--- a/wx+/font_size.h
+++ b/wx+/font_size.h
@@ -33,7 +33,7 @@ inline
void setRelativeFontSize(wxWindow& control, double factor)
{
wxFont font = control.GetFont();
- font.SetPointSize(numeric::round(wxNORMAL_FONT->GetPointSize() * factor));
+ font.SetPointSize(std::round(wxNORMAL_FONT->GetPointSize() * factor));
control.SetFont(font);
}
@@ -42,7 +42,7 @@ inline
void setMainInstructionFont(wxWindow& control)
{
wxFont font = control.GetFont();
- font.SetPointSize(numeric::round(wxNORMAL_FONT->GetPointSize() * 12.0 / 11));
+ font.SetPointSize(std::round(wxNORMAL_FONT->GetPointSize() * 12.0 / 11));
font.SetWeight(wxFONTWEIGHT_BOLD);
control.SetFont(font);
bgstack15