Remove unused event table macros from some wxGLCanvas files

No real changes, just don't define the event table unnecessarily.
This commit is contained in:
Vadim Zeitlin 2023-02-14 16:05:07 +00:00
parent 1f9113b40a
commit 30e79481a8
3 changed files with 0 additions and 6 deletions

View file

@ -131,7 +131,6 @@ protected:
WXGLPixelFormat m_glFormat = nullptr;
wxGLAttributes m_GLAttrs;
wxDECLARE_EVENT_TABLE();
wxDECLARE_CLASS(wxGLCanvas);
};

View file

@ -81,8 +81,6 @@ public:
static bool ConvertWXAttrsToQtGL(const int *wxattrs, QGLFormat &format);
private:
// wxDECLARE_EVENT_TABLE();
wxDECLARE_CLASS(wxGLCanvas);
};

View file

@ -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,