X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21d3d3424b9b076849792aca8ac39087053cadb2..ce3b4b90c51756092f1db8e5d87d07adb0a96e73:/include/wx/apptrait.h 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 }; // ----------------------------------------------------------------------------