From 763ed589f55b61e203369948935ef0b3002b109e Mon Sep 17 00:00:00 2001 From: Artur Wieczorek <7330332+a-wi@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:55:23 +0200 Subject: [PATCH] Prevent from using wxPropertyGrid private header in the user code --- include/wx/propgrid/private.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/propgrid/private.h b/include/wx/propgrid/private.h index 5254959b55..8416e2d9da 100644 --- a/include/wx/propgrid/private.h +++ b/include/wx/propgrid/private.h @@ -9,6 +9,10 @@ #ifndef _WX_PROPGRID_PRIVATE_H_ #define _WX_PROPGRID_PRIVATE_H_ +#if !defined(WXBUILDING) +#error This header is intended for internal use +#endif // !WXBUILDING + #include "wx/defs.h" // -----------------------------------------------------------------------