]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/thread/misc.cpp
Don't use GetThreadId() in wxMSW code.
[wxWidgets.git] / tests / thread / misc.cpp
index 83a63a1ac40efcab0182144d0bf6952ec03df93e..ecdf07df450310f85bead7ee80a1c5666d01ea25 100644 (file)
@@ -257,8 +257,8 @@ void MiscThreadTestCase::TestDetached()
         threads[n] = new MyDetachedThread(10, 'A' + n);
     }
 
         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++ )
     {
 
     for ( n = 0; n < nThreads; n++ )
     {