Prevent WX_PROGRESS_REPORTER from dominating system
Raising the window on each updateUI prevents multitasking by stealing focus from the current window.
This commit is contained in:
parent
b3a319b77e
commit
ba4b8bfa69
|
@ -83,11 +83,6 @@ bool WX_PROGRESS_REPORTER::updateUI()
|
||||||
Fit();
|
Fit();
|
||||||
}
|
}
|
||||||
|
|
||||||
Raise();
|
|
||||||
|
|
||||||
if( IsFocusable() )
|
|
||||||
SetFocus();
|
|
||||||
|
|
||||||
bool diag = wxProgressDialog::Update( cur, message );
|
bool diag = wxProgressDialog::Update( cur, message );
|
||||||
|
|
||||||
return diag;
|
return diag;
|
||||||
|
|
Loading…
Reference in New Issue