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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user