Fixed helpview sample and app in binary compatible way by only exiting

on idle (would exit prematurely since help frame doesn't prevent app exit
when still open)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-03-05 10:46:54 +00:00
parent c5effe4953
commit 658ba84dc9
3 changed files with 45 additions and 2 deletions

View File

@@ -50,14 +50,19 @@ public:
wxList& GetConnections() { return m_connections; }
#endif
/// Respond to idle event
void OnIdle(wxIdleEvent& event);
private:
wxHtmlHelpController* m_helpController;
bool m_exitIfNoMainWindow;
#if wxUSE_IPC
wxList m_connections;
hvServer* m_server;
#endif
DECLARE_EVENT_TABLE()
};
#if wxUSE_IPC