Get rid of unnecessary friend classes

This commit is contained in:
Artur Wieczorek
2022-01-30 10:14:44 +01:00
parent a86950de7f
commit 7e4cd9f1c1
4 changed files with 0 additions and 6 deletions

View File

@@ -168,7 +168,6 @@ class WXDLLIMPEXP_PROPGRID
wxPropertyGridManager : public wxPanel, public wxPropertyGridInterface
{
wxDECLARE_CLASS(wxPropertyGridManager);
friend class wxPropertyGridPage;
public:
#ifndef SWIG

View File

@@ -2146,7 +2146,6 @@ protected:
// Category (caption) property.
class WXDLLIMPEXP_PROPGRID wxPropertyCategory : public wxPGProperty
{
friend class wxPropertyGrid;
friend class wxPropertyGridPageState;
WX_PG_DECLARE_PROPERTY_CLASS(wxPropertyCategory)
public:

View File

@@ -1160,9 +1160,6 @@ private:
return m_pState->GetGrid();
}
friend class wxPropertyGrid;
friend class wxPropertyGridManager;
};
#endif // wxUSE_PROPGRID

View File

@@ -2940,7 +2940,6 @@ public:
*/
class wxPropertyCategory : public wxPGProperty
{
friend class wxPropertyGrid;
friend class wxPropertyGridPageState;
public: