#ifndef _WX_APP_H_
#define _WX_APP_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "app.h"
#endif
virtual bool Initialized();
virtual bool Pending();
virtual void Dispatch();
+
+ virtual void Exit();
+
virtual bool Yield(bool onlyIfNeeded = FALSE);
virtual bool ProcessIdle();
+ virtual void WakeUpIdle();
virtual bool OnInitGui();
public:
// Implementation
- static bool Initialize();
- static void CleanUp();
-
- void DeletePendingObjects();
+ virtual bool Initialize(int& argc, wxChar **argv);
+ virtual void CleanUp();
WXWindow GetTopLevelWidget() const { return m_topLevelWidget; }
WXColormap GetMainColormap(WXDisplay* display);
DECLARE_EVENT_TABLE()
};
-int WXDLLEXPORT wxEntry( int argc, char *argv[] );
-
-#endif
-// _WX_APP_H_
+#endif // _WX_APP_H_