From 8ad0f52da034b1295b7cabf278e833a4941694d2 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek <7330332+a-wi@users.noreply.github.com> Date: Wed, 15 Mar 2023 19:10:02 +0100 Subject: [PATCH] Include header with basic wxPGProperty classes in main wxPG header This header shouldn't be included here but it was included here in the previous versions of wxPG and user apps can be broken by removing it. --- include/wx/propgrid/propgrid.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/wx/propgrid/propgrid.h b/include/wx/propgrid/propgrid.h index d0c41348f6..74064c8c78 100644 --- a/include/wx/propgrid/propgrid.h +++ b/include/wx/propgrid/propgrid.h @@ -2157,6 +2157,12 @@ protected: // ----------------------------------------------------------------------- -#endif +#ifndef WXBUILDING +// This really shouldn't be done here, but keep including this header +// for compatibility because user apps can be broken by removing it. +#include "wx/propgrid/props.h" +#endif // !WXBUILDING + +#endif // wxUSE_PROPGRID #endif // _WX_PROPGRID_PROPGRID_H_