From b61af837173f420baa18384710a6caea6d1fa057 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 30 Aug 2007 17:45:35 +0000 Subject: [PATCH] use wxNullPtr instead of NULL with wxFileTypeInfo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/console/console.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/samples/console/console.cpp b/samples/console/console.cpp index 2244fb1cee..04c23b8225 100644 --- a/samples/console/console.cpp +++ b/samples/console/console.cpp @@ -89,7 +89,7 @@ #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 @@ -1383,7 +1383,7 @@ static void TestMimeAssociate() _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 @@ -4413,12 +4413,10 @@ int main(int argc, char **argv) #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