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 */