X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7214297d16aed4c160c1cbef6b19f153ca065ab7..e97f6ab64ef2e1e3839114d95ad6b60b7ac5bd27:/include/wx/msw/app.h diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index c5cbcfcd06..85a0e6cd34 100644 --- a/include/wx/msw/app.h +++ b/include/wx/msw/app.h @@ -78,8 +78,8 @@ class WXDLLEXPORT wxApp: public wxEvtHandler inline void SetExitOnFrameDelete(bool flag) { m_exitOnFrameDelete = flag; } inline bool GetExitOnFrameDelete() const { return m_exitOnFrameDelete; } - inline wxString GetAppName() const { - if (m_appName != "") + inline const wxString& GetAppName() const { + if (m_appName != _T("")) return m_appName; else return m_className; }