dolphin/Source/Core/DolphinWX
Soren Jorvang 0a47e12b18 Add back AfterInit which essentially does such actions that would
normally (on a fresh install) be triggered by the user clicking on
the GUI.

This notably includes refreshing the game list. The progress dialog
used in the course of updating the game list relies on wxWidgets
being able to yield to its event handler which isn't started until
after OnInit.

In fact, we might want to consider just moving all the initialization
currently triggered by OnInit into AfterInit so that we can rely on
the event handler running there. This would mean that we don't have to
worry about whether those code paths are triggered by a user click or
run at init time. This will require some more testing, though.

For now just move automatic booting along as this requires the game
list initialization to be done.

We also could instead choose to special-case cases like updating the
game list and simply not use a progress dialog there if the event
handler isn't running, but this approach is clearly cleaner.

See thread at http://code.google.com/p/dolphin-emu/source/detail?r=5848 .


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5849 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-07 22:00:41 +00:00
..
Src Add back AfterInit which essentially does such actions that would 2010-07-07 22:00:41 +00:00
resources Hg: 2010-06-09 01:37:08 +00:00
DolphinWX.rc Hg: 2010-06-09 01:37:08 +00:00
DolphinWX.vcproj Fix some projects to include CLRun/include to find the OpenCL headers. 2010-06-29 09:15:29 +00:00
DolphinWX.vcproj.user Meta: 2010-06-02 18:00:22 +00:00
resource.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00