From f2f9cbe619601fd71f2c5c0dc29796267144322d Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 9 Feb 2020 20:18:56 +0100 Subject: [PATCH] Get rid of unused wxPGWindowList ctor There is no use case for wxPGWindowList initialiazed with NULL data. --- include/wx/propgrid/editors.h | 5 ----- interface/wx/propgrid/editors.h | 1 - 2 files changed, 6 deletions(-) diff --git a/include/wx/propgrid/editors.h b/include/wx/propgrid/editors.h index 01f0a0a5e9..9746bbc01a 100644 --- a/include/wx/propgrid/editors.h +++ b/include/wx/propgrid/editors.h @@ -27,11 +27,6 @@ class WXDLLIMPEXP_FWD_PROPGRID wxPropertyGrid; class wxPGWindowList { public: - wxPGWindowList() - { - m_primary = m_secondary = NULL; - } - void SetSecondary( wxWindow* secondary ) { m_secondary = secondary; } wxWindow* m_primary; diff --git a/interface/wx/propgrid/editors.h b/interface/wx/propgrid/editors.h index d31e794116..25629fd2b4 100644 --- a/interface/wx/propgrid/editors.h +++ b/interface/wx/propgrid/editors.h @@ -14,7 +14,6 @@ class wxPGWindowList { public: - wxPGWindowList(); void SetSecondary( wxWindow* secondary ); wxWindow* m_primary;