Overriding wxApp::MainLoop()

Vadim Zeitlin vadim at wxwindows.org
Fri Aug 4 06:56:56 PDT 2006


On Fri, 4 Aug 2006 15:54:56 +0200 Viktor Lundström <viktor.lundstrom at gmail.com> wrote:

VL> Looking at the source, it seems like I could subclass wxEventLoop and
VL> replace Run() with a customized version, and then use this one in
VL> MainLoop().
VL> Is this a good solution?

 Yes, exactly. This is what wxEventLoop is for.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list