X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d48b06bd9039597545de9a862501d57c5f9ec1ea..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk1/app.h?ds=sidebyside diff --git a/include/wx/gtk1/app.h b/include/wx/gtk1/app.h index 32ef7416a0..cd279468ff 100644 --- a/include/wx/gtk1/app.h +++ b/include/wx/gtk1/app.h @@ -14,6 +14,8 @@ #include "wx/icon.h" #include "wx/strconv.h" +typedef struct _GdkVisual GdkVisual; + //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- @@ -45,18 +47,20 @@ 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; + int m_idleTag; void RemoveIdleTag(); unsigned char *m_colorCube; - // Used by the the wxGLApp and wxGLCanvas class for GL-based X visual + // Used by the wxGLApp and wxGLCanvas class for GL-based X visual // selection. void *m_glVisualInfo; // this is actually an XVisualInfo* void *m_glFBCInfo; // this is actually an GLXFBConfig* @@ -66,11 +70,7 @@ public: private: // true if we're inside an assert modal dialog -#ifdef __WXDEBUG__ bool m_isInAssert; -#endif // __WXDEBUG__ - - virtual bool DoYield(bool onlyIfNeeded, long eventsToProcess); DECLARE_DYNAMIC_CLASS(wxApp) };