X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3ef5bf5045991260005634272633717c0a26174..06c545a70377ea25f2263b2d2fa432db67d8b619:/include/wx/msw/app.h diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index f299a952ea..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; } @@ -144,6 +144,9 @@ public: virtual bool ProcessMessage(WXMSG* pMsg); void DeletePendingObjects(); bool ProcessIdle(); +#if wxUSE_THREADS + void ProcessPendingEvents(); +#endif int GetComCtl32Version() const; public: