X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21d3d3424b9b076849792aca8ac39087053cadb2..8e509c4b0c60bc066958574e4122a3db8ffcf491:/include/wx/apptrait.h?ds=sidebyside diff --git a/include/wx/apptrait.h b/include/wx/apptrait.h index 3595571c28..1513596cc7 100644 --- a/include/wx/apptrait.h +++ b/include/wx/apptrait.h @@ -118,10 +118,16 @@ public: // return true if the port is using wxUniversal for the GUI, false if not virtual bool IsUsingUniversalWidgets() const = 0; - - // return the name of the Desktop Environment such as + + // return the name of the Desktop Environment such as // "KDE" or "GNOME". May return an empty string. virtual wxString GetDesktopEnvironment() const { return wxEmptyString; } + +protected: +#if wxUSE_STACKWALKER && defined( __WXDEBUG__ ) + // utility function: returns the stack frame as a plain wxString + virtual wxString GetAssertStackTrace(); +#endif }; // ----------------------------------------------------------------------------