X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc4025af9a663583878b02e30073e29205ae5d9f..b814b812485527736a6c11fd3468df36f97a1e4a:/include/wx/x11/app.h diff --git a/include/wx/x11/app.h b/include/wx/x11/app.h index 4eab1ecb67..c1e44dad6e 100644 --- a/include/wx/x11/app.h +++ b/include/wx/x11/app.h @@ -55,6 +55,7 @@ public: virtual bool Pending(); virtual void Dispatch(); virtual bool Yield(bool onlyIfNeeded = FALSE); + virtual bool ProcessIdle(); virtual bool OnInitGui(); @@ -74,7 +75,9 @@ public: // Processes an X event. virtual bool ProcessXEvent(WXEvent* event); - virtual void OnAssert(const wxChar *file, int line, const wxChar *msg); +#ifdef __WXDEBUG__ + virtual void OnAssert(const wxChar *file, int line, const wxChar* cond, const wxChar *msg); +#endif // __WXDEBUG__ protected: bool m_showOnInit; @@ -85,7 +88,6 @@ public: static void CleanUp(); void DeletePendingObjects(); - bool ProcessIdle(); WXWindow GetTopLevelWidget() const { return m_topLevelWidget; } WXColormap GetMainColormap(WXDisplay* display); @@ -107,7 +109,8 @@ public: static long sm_lastMessageTime; bool m_showIconic; wxSize m_initialSize; - + +#if !wxUSE_NANOX // Someone find a better place for these int m_visualType; // TrueColor, DirectColor etc. int m_visualDepth; @@ -125,6 +128,7 @@ public: int m_visualBluePrec; unsigned char *m_colorCube; +#endif protected: bool m_keepGoing;