]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxNullPtr instead of NULL with wxFileTypeInfo
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2007 17:45:35 +0000 (17:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Aug 2007 17:45:35 +0000 (17:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/console/console.cpp

index 2244fb1ceecdff27681816da44cce239769d98be..04c23b8225642435c2fd3d52aeee004b7bbcb981 100644 (file)
@@ -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