[wx-dev] [ wxwindows-Patches-1715735 ] wxMainLoop for wxBase
Vadim Zeitlin
vadim at wxwindows.org
Sat Jun 2 02:51:26 PDT 2007
On Fri, 1 Jun 2007 18:00:45 +0200 Lukasz Michalski <lm at zork.pl> wrote:
LM> I created one gs_dispatcher instance as static member of wxFDIODispatcher
LM> class and Get() method for it.
LM>
LM> For wxAppConsoleUnix this instance is initialized in Initialize() by trying
LM> epoll first and falling back to select.
LM>
LM> Where should I put initialization of this global dispatcher for X11/DFB ports?
Why not do it in wxFDIODispatcher::Get() itself? Then it would be the same
for all ports.
Regards,
VZ
More information about the wx-dev
mailing list