Add check for wxUSE_EXTENDED_RTTI to the xti sample header
The sample requires wxUSE_EXTENDED_RTTI to be enabled, and that is correctly signalled in the source files. Just avoid the header flooding the output with errors. Closes https://github.com/wxWidgets/wxWidgets/pull/525 * Removed BOM.
This commit is contained in:
parent
ca96abd119
commit
305ff51314
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,8 @@
|
|||
#ifndef _CODEDEPERSISTER_
|
||||
#define _CODEDEPERSISTER_
|
||||
|
||||
#if wxUSE_EXTENDED_RTTI
|
||||
|
||||
#include "wx/defs.h"
|
||||
#include "wx/sstream.h"
|
||||
|
||||
|
|
@ -104,4 +106,6 @@ public:
|
|||
wxString ValueAsCode( const wxAny ¶m );
|
||||
};
|
||||
|
||||
#endif // wxUSE_EXTENDED_RTTI
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue