class WXDLLEXPORT wxFrame;
class WXDLLEXPORT wxWindow;
-class WXDLLEXPORT wxApp ;
+class WXDLLEXPORT wxApp;
class WXDLLEXPORT wxKeyEvent;
class WXDLLEXPORT wxLog;
virtual int MainLoop();
virtual void ExitMainLoop();
virtual bool Initialized();
- virtual bool Pending() ;
- virtual void Dispatch() ;
+ virtual bool Pending();
+ virtual void Dispatch();
+ virtual bool Yield(bool onlyIfNeeded = FALSE);
virtual bool OnInitGui();
// Returns TRUE if a key down event has been processed
virtual bool CheckForKeyDown(WXEvent* event);
+ // Returns TRUE if a key up event has been processed
+ virtual bool CheckForKeyUp(WXEvent* event);
+
protected:
bool m_showOnInit;
void DeletePendingObjects();
bool ProcessIdle();
-#if wxUSE_THREADS
- void ProcessPendingEvents();
-#endif
// Motif-specific
WXAppContext GetAppContext() const { return m_appContext; }
WXWidget GetTopLevelWidget() const { return m_topLevelWidget; }
- WXColormap GetMainColormap(WXDisplay* display) ;
+ WXColormap GetMainColormap(WXDisplay* display);
WXDisplay* GetInitialDisplay() const { return m_initialDisplay; }
long GetMaxRequestSize() const { return m_maxRequestSize; }
int m_nCmdShow;
protected:
- bool m_keepGoing ;
+ bool m_keepGoing;
// Motif-specific
WXAppContext m_appContext;