Follow-up of a5d5ceb30d - Fixed run on Windows

This commit is contained in:
YuSanka 2021-05-18 12:32:37 +02:00
parent a5d5ceb30d
commit 6c47b15834

View file

@ -1084,6 +1084,8 @@ void Control::Ruler::update(wxWindow* win, const std::vector<double>& values, do
void Control::draw_ruler(wxDC& dc)
{
if (m_values.empty())
return;
m_ruler.update(this->GetParent(), m_values, get_scroll_step());
int height, width;