#include "wx/log.h"
#include "wx/apptrait.h"
#include "wx/platinfo.h"
+#include "wx/wxchar.h"
// without this pragma, the stupid compiler precompiles #defines below so that
// changing them doesn't "take place" later!
#define TEST_WCHAR
#define TEST_ZIP
#else // #if TEST_ALL
- #define TEST_TIMER
+ #define TEST_MIME
#endif
// some tests are interactive, define this to run them
_T(""), // print cmd
_T("XYZ File"), // description
_T(".xyz"), // extensions
- NULL // end of extensions
+ wxNullPtr // end of extensions
);
ftInfo.SetShortDesc(_T("XYZFile")); // used under Win32 only
virtual void Notify()
{
wxPrintf(_T("%d"), m_num++);
+ fflush(stdout);
if ( m_num == 10 )
{
wxEventLoop loop;
+ wxTimer timer1;
+ timer1.Start(100, true /* one shot */);
+ timer1.Stop();
+ timer1.Start(100, true /* one shot */);
+
MyTimer timer;
timer.Start(500);
#endif // TEST_FTP
#ifdef TEST_MIME
- wxLog::AddTraceMask(_T("mime"));
- #if TEST_ALL
- TestMimeEnum();
- #endif
- TestMimeOverride();
- TestMimeAssociate();
+ //wxLog::AddTraceMask(_T("mime"));
+ TestMimeEnum();
+ TestMimeOverride();
+ // TestMimeAssociate();
TestMimeFilename();
#endif // TEST_MIME