From 04cebe381a80ba53368be63925e09469d08897c3 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 12 May 2019 16:24:23 +0200 Subject: [PATCH] Remove unneeded privileged access as friends --- include/wx/propgrid/property.h | 1 - include/wx/propgrid/propgridpagestate.h | 1 - interface/wx/propgrid/propgridpagestate.h | 1 - 3 files changed, 3 deletions(-) diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index 27d3768fbe..17f44b4e35 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -974,7 +974,6 @@ class WXDLLIMPEXP_PROPGRID wxPGProperty : public wxObject friend class wxPropertyGridInterface; friend class wxPropertyGridPageState; friend class wxPropertyGridPopulator; - friend class wxStringProperty; // Proper "" support requires this wxDECLARE_ABSTRACT_CLASS(wxPGProperty); public: diff --git a/include/wx/propgrid/propgridpagestate.h b/include/wx/propgrid/propgridpagestate.h index 19ec300708..8c596048d1 100644 --- a/include/wx/propgrid/propgridpagestate.h +++ b/include/wx/propgrid/propgridpagestate.h @@ -357,7 +357,6 @@ protected: // - Currently this class is not implemented in wxPython. class WXDLLIMPEXP_PROPGRID wxPropertyGridPageState { - friend class wxPGProperty; friend class wxPropertyGrid; friend class wxPropertyGridInterface; friend class wxPropertyGridPage; diff --git a/interface/wx/propgrid/propgridpagestate.h b/interface/wx/propgrid/propgridpagestate.h index a142f3d447..248e26f542 100644 --- a/interface/wx/propgrid/propgridpagestate.h +++ b/interface/wx/propgrid/propgridpagestate.h @@ -305,7 +305,6 @@ public: */ class wxPropertyGridPageState { - friend class wxPGProperty; friend class wxPropertyGrid; friend class wxPropertyGridInterface; friend class wxPropertyGridPage;