X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c085e333984dc079a001cd3f581aeb1f51a1f227..6f841509cecded593e8e7c20d4a9e23ed29e5fa1:/include/wx/msw/app.h diff --git a/include/wx/msw/app.h b/include/wx/msw/app.h index e319a318a1..85a0e6cd34 100644 --- a/include/wx/msw/app.h +++ b/include/wx/msw/app.h @@ -18,6 +18,7 @@ #include "wx/defs.h" #include "wx/object.h" +#include "wx/event.h" class WXDLLEXPORT wxFrame; class WXDLLEXPORT wxWindow; @@ -77,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; } @@ -143,6 +144,9 @@ public: virtual bool ProcessMessage(WXMSG* pMsg); void DeletePendingObjects(); bool ProcessIdle(); +#if wxUSE_THREADS + void ProcessPendingEvents(); +#endif int GetComCtl32Version() const; public: