]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/app.h
Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
[wxWidgets.git] / include / wx / gtk / app.h
index 3657155adebedf790e49e0b90e93a7680f3b1522..7564b247c77028c9354826066e2db34abd88e154 100644 (file)
@@ -14,8 +14,6 @@
 #pragma interface
 #endif
 
 #pragma interface
 #endif
 
-#include "wx/defs.h"
-#include "wx/window.h"
 #include "wx/frame.h"
 #include "wx/icon.h"
 
 #include "wx/frame.h"
 #include "wx/icon.h"
 
 class wxApp;
 class wxLog;
 
 class wxApp;
 class wxLog;
 
-//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
-
-extern wxApp *wxTheApp;
-
-//-----------------------------------------------------------------------------
-// global functions
-//-----------------------------------------------------------------------------
-
-void wxExit(void);
-bool wxYield(void);
-
-//-----------------------------------------------------------------------------
-// constants
-//-----------------------------------------------------------------------------
-
-#define wxPRINT_WINDOWS         1
-#define wxPRINT_POSTSCRIPT      2
-
 //-----------------------------------------------------------------------------
 // wxApp
 //-----------------------------------------------------------------------------
 
 class wxApp: public wxAppBase
 {
 //-----------------------------------------------------------------------------
 // wxApp
 //-----------------------------------------------------------------------------
 
 class wxApp: public wxAppBase
 {
-DECLARE_DYNAMIC_CLASS(wxApp)
-
 public:
     wxApp();
     ~wxApp();
 public:
     wxApp();
     ~wxApp();
@@ -83,9 +59,6 @@ public:
     static void CleanUp();
 
     bool ProcessIdle();
     static void CleanUp();
 
     bool ProcessIdle();
-#if wxUSE_THREADS
-    void ProcessPendingEvents();
-#endif
     void DeletePendingObjects();
 
     // This can be used to suppress the generation of Idle events.
     void DeletePendingObjects();
 
     // This can be used to suppress the generation of Idle events.
@@ -104,6 +77,8 @@ private:
     /// Set to TRUE while we are in wxYield().
     bool m_suppressIdleEvents;
 
     /// Set to TRUE while we are in wxYield().
     bool m_suppressIdleEvents;
 
+private:
+    DECLARE_DYNAMIC_CLASS(wxApp)
     DECLARE_EVENT_TABLE()
 };
 
     DECLARE_EVENT_TABLE()
 };