]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/thread/misc.cpp
Remove Inno Setup file dependency on c:\daily path.
[wxWidgets.git] / tests / thread / misc.cpp
index 83a63a1ac40efcab0182144d0bf6952ec03df93e..3c32fa04b517acfd520ca53cad5d29a8d537ccf2 100644 (file)
@@ -168,6 +168,8 @@ public:
 
     virtual ExitCode Entry()
     {
+        wxUnusedVar(m_i);
+
         //wxPrintf(wxT("%s: Thread #%d (%ld) starting to wait for semaphore...\n"),
         //         wxDateTime::Now().FormatTime().c_str(), m_i, (long)GetId());
 
@@ -257,8 +259,8 @@ void MiscThreadTestCase::TestDetached()
         threads[n] = new MyDetachedThread(10, 'A' + n);
     }
 
-    threads[0]->SetPriority(WXTHREAD_MIN_PRIORITY);
-    threads[1]->SetPriority(WXTHREAD_MAX_PRIORITY);
+    threads[0]->SetPriority(wxPRIORITY_MIN);
+    threads[1]->SetPriority(wxPRIORITY_MAX);
 
     for ( n = 0; n < nThreads; n++ )
     {