From 13f086b5d03854ab16f1053a5d10a2a9132f3d99 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Aug 2019 11:10:06 +0200 Subject: [PATCH] Revert "Work around problems with wxGLCanvas resizing under macOS 10.14.5" This reverts commit ea68934b8e3374d03e876f56a1637663de351cb7 as it didn't fix the problem in all cases -- an alternative fix will replace it in the upcoming commits. --- src/osx/cocoa/glcanvas.mm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/osx/cocoa/glcanvas.mm b/src/osx/cocoa/glcanvas.mm index 540505fe57..59c572e73b 100644 --- a/src/osx/cocoa/glcanvas.mm +++ b/src/osx/cocoa/glcanvas.mm @@ -149,18 +149,6 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *GLAttrs, impl->doCommandBySelector(aSelector, self, _cmd); } -// We intentionally don't call [super update], so suppress the warning about it. -wxCLANG_WARNING_SUPPRESS(objc-missing-super-calls) - -- (void) update -{ - // Prevent the base class code from breaking resizing on macOS 10.14.5 - // (this is not necessary on the older versions, but doesn't seem to do any - // harm there neither). -} - -wxCLANG_WARNING_RESTORE(objc-missing-super-calls) - @end bool wxGLCanvas::DoCreate(wxWindow *parent,