#ifndef _WX_APP_H_
#define _WX_APP_H_
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "app.h"
#endif
virtual void Exit();
virtual bool Yield(bool onlyIfNeeded = FALSE);
- virtual bool ProcessIdle();
virtual void WakeUpIdle();
virtual bool OnInitGui();
// implementation from now on
// --------------------------
- void OnIdle(wxIdleEvent& event);
-
- // Send idle event to all top-level windows.
- // Returns TRUE if more idle time is requested.
- bool SendIdleEvents();
-
- // Send idle event to window and all subwindows
- // Returns TRUE if more idle time is requested.
- bool SendIdleEvents(wxWindow* win);
-
// Processes an X event.
virtual bool ProcessXEvent(WXEvent* event);
virtual bool Initialize(int& argc, wxChar **argv);
virtual void CleanUp();
- void DeletePendingObjects();
-
WXWindow GetTopLevelWidget() const { return m_topLevelWidget; }
WXColormap GetMainColormap(WXDisplay* display);
long GetMaxRequestSize() const { return m_maxRequestSize; }