From: Vadim Zeitlin Date: Sat, 10 Mar 2012 14:26:22 +0000 (+0000) Subject: Explicitly document wxMessageOutputFlags. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f7754d0fdeff5560cb20d89a5c2843b4e81c9a85 Explicitly document wxMessageOutputFlags. They were already mentioned in wxMessageOutputBest ctor documentation but now add the standalone enum too to make the documentation header semantically valid. Closes #14082. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/msgout.h b/interface/wx/msgout.h index 250fa190e3..cd44896a15 100644 --- a/interface/wx/msgout.h +++ b/interface/wx/msgout.h @@ -113,6 +113,17 @@ public: wxMessageOutputStderr(FILE *fp = stderr); }; +/** + Flags used with wxMessageOutputBest. + + See wxMessageOutputBest::wxMessageOutputBest(). + */ +enum wxMessageOutputFlags +{ + wxMSGOUT_PREFER_STDERR = 0, ///< use stderr if available (this is the default) + wxMSGOUT_PREFER_MSGBOX = 1 ///< always use message box if available +}; + /** Output messages in the best possible way.