From 30e79481a8dd672c211c3b7e6dfabf10b74ad9d9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 14 Feb 2023 16:05:07 +0000 Subject: [PATCH] Remove unused event table macros from some wxGLCanvas files No real changes, just don't define the event table unnecessarily. --- include/wx/osx/glcanvas.h | 1 - include/wx/qt/glcanvas.h | 2 -- src/osx/glcanvas_osx.cpp | 3 --- 3 files changed, 6 deletions(-) diff --git a/include/wx/osx/glcanvas.h b/include/wx/osx/glcanvas.h index 2aa6cb0fcd..5bc460238e 100644 --- a/include/wx/osx/glcanvas.h +++ b/include/wx/osx/glcanvas.h @@ -131,7 +131,6 @@ protected: WXGLPixelFormat m_glFormat = nullptr; wxGLAttributes m_GLAttrs; - wxDECLARE_EVENT_TABLE(); wxDECLARE_CLASS(wxGLCanvas); }; diff --git a/include/wx/qt/glcanvas.h b/include/wx/qt/glcanvas.h index 1cf84efba8..378813cc95 100644 --- a/include/wx/qt/glcanvas.h +++ b/include/wx/qt/glcanvas.h @@ -81,8 +81,6 @@ public: static bool ConvertWXAttrsToQtGL(const int *wxattrs, QGLFormat &format); private: - -// wxDECLARE_EVENT_TABLE(); wxDECLARE_CLASS(wxGLCanvas); }; diff --git a/src/osx/glcanvas_osx.cpp b/src/osx/glcanvas_osx.cpp index 5fdfac4df0..bd699ca0af 100644 --- a/src/osx/glcanvas_osx.cpp +++ b/src/osx/glcanvas_osx.cpp @@ -410,9 +410,6 @@ wxGLContext::~wxGLContext() wxIMPLEMENT_CLASS(wxGLCanvas, wxWindow); -wxBEGIN_EVENT_TABLE(wxGLCanvas, wxWindow) -wxEND_EVENT_TABLE() - wxGLCanvas::wxGLCanvas(wxWindow *parent, const wxGLAttributes& dispAttrs, wxWindowID id,