Initialize wxPropertyGridXmlHandler members in declaration

Ensure that m_pg is initialized to nullptr too.
This commit is contained in:
Vadim Zeitlin 2023-10-31 03:47:26 +01:00
parent 7a392a6623
commit 336a36e618
2 changed files with 4 additions and 4 deletions

View file

@ -47,9 +47,9 @@ public:
void HandlePropertyGridParams();
private:
wxPropertyGridManager* m_manager;
wxPropertyGrid* m_pg;
wxPropertyGridPopulator* m_populator;
wxPropertyGridManager* m_manager = nullptr;
wxPropertyGrid* m_pg = nullptr;
wxPropertyGridPopulator* m_populator = nullptr;
};
#endif // wxUSE_XRC && wxUSE_PROPGRID