mirror of https://github.com/BOINC/boinc.git
MGR: async GUI RPCs: Bug fixes.
svn path=/workspaces/charlief/; revision=15709
This commit is contained in:
parent
d34bc2a810
commit
0d8bddd953
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue