X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04783062e2aa45cb1d2fa82618eb97b2f0381c86..38aae140acbfd562df1388ae76108efcc52f871c:/interface/wx/process.h diff --git a/interface/wx/process.h b/interface/wx/process.h index b47276ebc4..d7ab0baff0 100644 --- a/interface/wx/process.h +++ b/interface/wx/process.h @@ -243,6 +243,20 @@ public: The caught output stream is returned by GetInputStream() as a non-seekable stream. */ void Redirect(); + + /** + Sets the priority of the process, between 0 (lowest) and 100 (highest). + It can only be set before the process is created. + + The following symbolic constants can be used in addition to raw + values in 0..100 range: + - @b wxPRIORITY_MIN: 0 + - @b wxPRIORITY_DEFAULT: 50 + - @b wxPRIORITY_MAX: 100 + + @since 2.9.5 + */ + void SetPriority(unsigned priority); };