From e90f0f33a6d9f86c6fa8ed556ae31fb3e1e25312 Mon Sep 17 00:00:00 2001 From: and3md Date: Sat, 6 May 2017 15:58:31 +0200 Subject: [PATCH] Fix deprecation warnings about handleWindowStateChange() visibility. --- src/dlangui/platforms/sdl/sdlapp.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dlangui/platforms/sdl/sdlapp.d b/src/dlangui/platforms/sdl/sdlapp.d index e0d8102d..db1b5003 100644 --- a/src/dlangui/platforms/sdl/sdlapp.d +++ b/src/dlangui/platforms/sdl/sdlapp.d @@ -362,6 +362,10 @@ class SDLWindow : Window { _platform.closeWindow(this); } + override protected void handleWindowStateChange(WindowState newState, Rect newWindowRect = RECT_VALUE_IS_NOT_SET) { + super.handleWindowStateChange(newState, newWindowRect); + } + override bool setWindowState(WindowState newState, bool activate = false, Rect newWindowRect = RECT_VALUE_IS_NOT_SET) { // override for particular platforms