#ifndef __GTKAPPH__
#define __GTKAPPH__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
virtual bool OnInitGui();
// override base class (pure) virtuals
- virtual int MainLoop();
- virtual void ExitMainLoop();
- virtual bool Initialized();
- virtual bool Pending();
- virtual void Dispatch();
-
- virtual void Exit();
-
virtual bool Yield(bool onlyIfNeeded = FALSE);
- virtual bool ProcessIdle();
virtual void WakeUpIdle();
- // implementation only from now on
- void OnIdle( wxIdleEvent &event );
- bool SendIdleEvents();
- bool SendIdleEvents( wxWindow* win );
-
virtual bool Initialize(int& argc, wxChar **argv);
virtual void CleanUp();
bool IsInAssert() const { return m_isInAssert; }
#endif // __WXDEBUG__
- bool m_initialized;
-
gint m_idleTag;
#if wxUSE_THREADS
gint m_wakeUpTimerTag;
bool m_isInAssert;
#endif // __WXDEBUG__
- bool CallInternalIdle( wxWindow* win );
-
DECLARE_DYNAMIC_CLASS(wxApp)
DECLARE_EVENT_TABLE()
};
-int WXDLLEXPORT wxEntry( int argc, char *argv[] );
-
#endif // __GTKAPPH__