From e2cd3f117abe915c1cf448567dc9a539660db64e Mon Sep 17 00:00:00 2001 From: Pengfei Date: Tue, 17 Aug 2021 00:37:48 +0800 Subject: [PATCH] Fix build --- src/frontend/helpers/dpi_aware_dialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/helpers/dpi_aware_dialog.h b/src/frontend/helpers/dpi_aware_dialog.h index 76bf409..7795309 100644 --- a/src/frontend/helpers/dpi_aware_dialog.h +++ b/src/frontend/helpers/dpi_aware_dialog.h @@ -17,7 +17,7 @@ protected: // Called with two zeroes to set up content sizes that are relative to dialog size. Also called // when screen is changed, to update those sizes. - virtual void SetContentSizes(int previous_width, int previous_height){}; + virtual void SetContentSizes(int previous_width = 0, int previous_height = 0){}; private: #ifndef __APPLE__