mirror of https://github.com/BOINC/boinc.git
- MGR: Convert the event log to a modeless dialog.
clientgui/ AdvancedFrame.cpp, .h DlgEventLog.cpp svn path=/trunk/boinc/; revision=19988
This commit is contained in:
parent
560973af87
commit
9ee7ed8063
|
@ -10427,3 +10427,10 @@ Charlie 19 Dec 2009
|
|||
mac_build/
|
||||
boinc.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
Rom 19 Dec 2009
|
||||
- MGR: Convert the event log to a modeless dialog.
|
||||
|
||||
clientgui/
|
||||
AdvancedFrame.cpp, .h
|
||||
DlgEventLog.cpp
|
||||
|
|
|
@ -209,6 +209,7 @@ CAdvancedFrame::CAdvancedFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxP
|
|||
m_pMenubar = NULL;
|
||||
m_pNotebook = NULL;
|
||||
m_pStatusbar = NULL;
|
||||
m_pEventLog = NULL;
|
||||
|
||||
// Working Variables
|
||||
m_strBaseTitle = title;
|
||||
|
@ -234,7 +235,6 @@ CAdvancedFrame::CAdvancedFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxP
|
|||
wxASSERT(m_pFrameRenderTimer);
|
||||
m_pFrameRenderTimer->Start(1000); // Send event every 1 second
|
||||
|
||||
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CAdvancedFrame::CAdvancedFrame - Function End"));
|
||||
}
|
||||
|
||||
|
@ -1573,8 +1573,8 @@ void CAdvancedFrame::OnReadPreferences(wxCommandEvent& WXUNUSED(event)) {
|
|||
void CAdvancedFrame::OnEventLog(wxCommandEvent& WXUNUSED(event)) {
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CAdvancedFrame::OnEventLog - Function Begin"));
|
||||
|
||||
CDlgEventLog dlg(this);
|
||||
dlg.ShowModal();
|
||||
m_pEventLog = new CDlgEventLog(this);
|
||||
m_pEventLog->Show();
|
||||
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CAdvancedFrame::OnEventLog - Function End"));
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
|
||||
class CBOINCBaseView;
|
||||
class CDlgEventLog;
|
||||
|
||||
///
|
||||
/// Bitmask values for CMainDocument::RunPeriodicRPCs()
|
||||
|
@ -123,6 +124,7 @@ private:
|
|||
wxMenuBar* m_pMenubar;
|
||||
wxNotebook* m_pNotebook;
|
||||
CStatusBar* m_pStatusbar;
|
||||
CDlgEventLog* m_pEventLog;
|
||||
|
||||
wxString m_strBaseTitle;
|
||||
|
||||
|
|
|
@ -294,7 +294,7 @@ void CDlgEventLog::OnHelp(wxHelpEvent& event) {
|
|||
|
||||
void CDlgEventLog::OnOK( wxCommandEvent& /*event*/ ) {
|
||||
SaveState();
|
||||
EndModal(wxID_OK);
|
||||
Hide();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue