Rename WXTHREAD_XXX_PRIORITY yo wxPRIORITY_XXX.

This will allow to reuse the same constants for the process priorities in an
upcoming commit.

See #14931.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-01-20 02:10:07 +00:00
parent f2e763d7f1
commit 90e95e6117
9 changed files with 39 additions and 45 deletions

View File

@@ -559,11 +559,11 @@ void MyFrame::OnStartThreads(wxCommandEvent& WXUNUSED(event) )
// have the lowest priority, the second - the highest, all the rest
// the normal one
if ( n == 0 )
thr->SetPriority(WXTHREAD_MIN_PRIORITY);
thr->SetPriority(wxPRIORITY_MIN);
else if ( n == 1 )
thr->SetPriority(WXTHREAD_MAX_PRIORITY);
thr->SetPriority(wxPRIORITY_MAX);
else
thr->SetPriority(WXTHREAD_DEFAULT_PRIORITY);
thr->SetPriority(wxPRIORITY_DEFAULT);
threads.Add(thr);
}