From 78a58e04ee562a2a2b9933f3a0d65aba2bed3342 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Mon, 22 Nov 2010 15:39:22 -0500 Subject: [PATCH] Fixed build error for missing wxNullPtr definition building against wxWidgets < 2.9 --- include/fctsys.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/fctsys.h b/include/fctsys.h index 43c48c8723..ba0d222e23 100644 --- a/include/fctsys.h +++ b/include/fctsys.h @@ -62,6 +62,11 @@ #define MAYBE_RESIZE_BORDER 0 // no resizeable border #endif +// wxNullPtr is not defined prior to wxWidget 2.9.0. +#if !wxCHECK_VERSION( 2, 9, 0 ) +#define wxNullPtr ((void *)NULL) +#endif + #include "config.h" #endif /* FCTSYS_H */