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:
Cătălin Răceanu
2017-07-20 01:20:25 +03:00
committed by VZ
parent ca96abd119
commit 305ff51314

View File

@@ -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 &param );
};
#endif // wxUSE_EXTENDED_RTTI
#endif