X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0006b9a540a7264101d87e3df20d494e8fa4ab9c..d7e918b594dccaada636fb2dd99081bc89e99db6:/include/wx/gtk/app.h diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index ed87ea537b..3d862eafd4 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -7,12 +7,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __GTKAPPH__ -#define __GTKAPPH__ - -#include "wx/frame.h" -#include "wx/icon.h" -#include "wx/strconv.h" +#ifndef _WX_GTK_APP_H_ +#define _WX_GTK_APP_H_ //----------------------------------------------------------------------------- // classes @@ -47,13 +43,18 @@ public: static bool InitialzeVisual(); #ifdef __WXDEBUG__ - virtual void OnAssert(const wxChar *file, int line, const wxChar *cond, const wxChar *msg); + virtual void OnAssertFailure(const wxChar *file, + int line, + const wxChar *func, + const wxChar *cond, + const wxChar *msg); bool IsInAssert() const { return m_isInAssert; } #endif // __WXDEBUG__ - gint m_idleTag; - void RemoveIdleTag(); + guint m_idleTag; + // temporarily disable idle events + void SuspendIdleCallback(); // Used by the the wxGLApp and wxGLCanvas class for GL-based X visual // selection. @@ -73,4 +74,4 @@ private: DECLARE_EVENT_TABLE() }; -#endif // __GTKAPPH__ +#endif // _WX_GTK_APP_H_