Get rid of unnecessary friend classes
This commit is contained in:
@@ -168,7 +168,6 @@ class WXDLLIMPEXP_PROPGRID
|
||||
wxPropertyGridManager : public wxPanel, public wxPropertyGridInterface
|
||||
{
|
||||
wxDECLARE_CLASS(wxPropertyGridManager);
|
||||
friend class wxPropertyGridPage;
|
||||
public:
|
||||
|
||||
#ifndef SWIG
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -1160,9 +1160,6 @@ private:
|
||||
|
||||
return m_pState->GetGrid();
|
||||
}
|
||||
|
||||
friend class wxPropertyGrid;
|
||||
friend class wxPropertyGridManager;
|
||||
};
|
||||
|
||||
#endif // wxUSE_PROPGRID
|
||||
|
||||
@@ -2940,7 +2940,6 @@ public:
|
||||
*/
|
||||
class wxPropertyCategory : public wxPGProperty
|
||||
{
|
||||
friend class wxPropertyGrid;
|
||||
friend class wxPropertyGridPageState;
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user