Minimal changes to make wxPropertyGridXmlHandler compile again

Just rename wxPropertyGridState to wxPropertyGridPageState and add make
wxPropertyGridXmlHandler a friend of this class to allow it to use its
protected methods.

Also remove some preprocessor checks for non-existent symbols.
This commit is contained in:
Vadim Zeitlin 2023-10-31 01:03:46 +01:00
parent 8694a1b2f1
commit a5b9e6d3e7
3 changed files with 5 additions and 12 deletions

View file

@ -467,6 +467,7 @@ class WXDLLIMPEXP_PROPGRID wxPropertyGridPageState
friend class wxPGProperty;
friend class wxFlagsProperty;
friend class wxPropertyGridIteratorBase;
friend class wxPropertyGridXmlHandler;
public:
// Default constructor.

View file

@ -39,7 +39,7 @@ public:
bool CanHandle(wxXmlNode *node) override;
void InitPopulator();
void PopulatePage( wxPropertyGridState* state );
void PopulatePage( wxPropertyGridPageState* state );
void DonePopulator();
void HandlePropertyGridParams();