]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/app.h
Uses wxUSE_WCHAR_T for compilers that don't support wchar_t.
[wxWidgets.git] / include / wx / msw / app.h
index e319a318a19e7e6f42c83928388703c042628d47..85a0e6cd34f64734aafd3daa6aef0f5f78c4414f 100644 (file)
@@ -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: