X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3ef5bf5045991260005634272633717c0a26174..9a5ccab4315dc06b4b56a57c39fbc35b21f5a9d5:/include/wx/msw/app.h diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index f299a952ea..c5cfa879c8 100644 --- a/include/wx/msw/app.h +++ b/include/wx/msw/app.h @@ -78,7 +78,7 @@ class WXDLLEXPORT wxApp: public wxEvtHandler inline void SetExitOnFrameDelete(bool flag) { m_exitOnFrameDelete = flag; } inline bool GetExitOnFrameDelete() const { return m_exitOnFrameDelete; } - inline wxString GetAppName() const { + inline const wxString& GetAppName() const { if (m_appName != "") 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: