Fixed build error for missing wxNullPtr definition building against wxWidgets < 2.9

This commit is contained in:
Wayne Stambaugh 2010-11-22 15:39:22 -05:00
parent c660028ba4
commit 78a58e04ee
1 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,11 @@
#define MAYBE_RESIZE_BORDER 0 // no resizeable border #define MAYBE_RESIZE_BORDER 0 // no resizeable border
#endif #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" #include "config.h"
#endif /* FCTSYS_H */ #endif /* FCTSYS_H */