implement event loop for console applications (heavily modified patch 1715735)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,10 +20,10 @@ struct wxDFBEvent;
|
||||
// wxEventLoop
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_CORE wxEventLoop : public wxEventLoopManual
|
||||
class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopManual
|
||||
{
|
||||
public:
|
||||
wxEventLoop();
|
||||
wxGUIEventLoop();
|
||||
|
||||
virtual bool Pending() const;
|
||||
virtual bool Dispatch();
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
private:
|
||||
static wxIDirectFBEventBufferPtr ms_buffer;
|
||||
|
||||
DECLARE_NO_COPY_CLASS(wxEventLoop)
|
||||
DECLARE_NO_COPY_CLASS(wxGUIEventLoop)
|
||||
};
|
||||
|
||||
#endif // _WX_DFB_EVTLOOP_H_
|
||||
|
@@ -111,8 +111,8 @@ private:
|
||||
// are we currently painting some area of this TLW?
|
||||
bool m_isPainting;
|
||||
|
||||
friend class wxEventLoop; // for HandleDFBWindowEvent
|
||||
friend class wxWindowDFB; // for SetDfbFocus
|
||||
friend class wxGUIEventLoop; // for HandleDFBWindowEvent
|
||||
friend class wxWindowDFB; // for SetDfbFocus
|
||||
};
|
||||
|
||||
#endif // _WX_DFB_NONOWNEDWND_H_
|
||||
|
Reference in New Issue
Block a user