MGR: async GUI RPCs: Bug fixes.

svn path=/workspaces/charlief/; revision=15709
This commit is contained in:
Charlie Fenton 2008-07-30 13:08:15 +00:00
parent d34bc2a810
commit 0d8bddd953
3 changed files with 9 additions and 0 deletions

View File

@ -6156,3 +6156,9 @@ Charlie 29 July 2008
Charlie 30 July 2008
- MGR: async GUI RPCs: Bug fixes.
clientgui/
AsyncRPC.cpp
MainDocument.cpp,.h
sg_BoincSimpleGUI.cpp
BOINCBaseFrame.cpp
BOINCGUIApp.h

View File

@ -303,11 +303,13 @@ void CBOINCBaseFrame::OnClose(wxCloseEvent& event) {
#if defined(__WXMSW__) || defined(__WXMAC__)
if (!event.CanVeto()) {
wxGetApp().FrameClosed();
Destroy();
} else {
Hide();
}
#else
wxGetApp().FrameClosed();
Destroy();
#endif

View File

@ -115,6 +115,7 @@ public:
wxLocale* GetLocale() { return m_pLocale; }
CSkinManager* GetSkinManager() { return m_pSkinManager; }
CBOINCBaseFrame* GetFrame() { return m_pFrame; }
void FrameClosed() { m_pFrame = NULL; }
CMainDocument* GetDocument() { return m_pDocument; }
wxString GetArguments() { return m_strBOINCArguments; }
wxString GetRootDirectory() { return m_strBOINCMGRRootDirectory; }