mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5859
This commit is contained in:
parent
925f06f829
commit
1ebf1384db
|
@ -96,9 +96,9 @@ void* CNetworkConnection::Poll() {
|
||||||
if ((m_bForceReconnect) ||
|
if ((m_bForceReconnect) ||
|
||||||
(!IsConnected() && m_bReconnectOnError)
|
(!IsConnected() && m_bReconnectOnError)
|
||||||
) {
|
) {
|
||||||
wxLogTrace("CNetworkConnection::Poll - Resetting Document State");
|
fprintf(stderr, "CNetworkConnection::Poll - Resetting Document State");
|
||||||
m_pDocument->ResetState();
|
m_pDocument->ResetState();
|
||||||
wxLogTrace("CNetworkConnection::Poll - Setting connection state to reconnecting");
|
fprintf(stderr, "CNetworkConnection::Poll - Setting connection state to reconnecting");
|
||||||
SetStateReconnecting();
|
SetStateReconnecting();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1169,7 +1169,7 @@ void CMainFrame::OnConnectErrorAuthentication(CMainFrameEvent&) {
|
||||||
|
|
||||||
|
|
||||||
void CMainFrame::OnInitialized(CMainFrameEvent&) {
|
void CMainFrame::OnInitialized(CMainFrameEvent&) {
|
||||||
wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::OnInitialized - Function Begin"));
|
fprintf(stderr, "CMainFrame::OnInitialized - Function Begin");
|
||||||
|
|
||||||
CMainDocument* pDoc = wxGetApp().GetDocument();
|
CMainDocument* pDoc = wxGetApp().GetDocument();
|
||||||
|
|
||||||
|
@ -1179,7 +1179,7 @@ void CMainFrame::OnInitialized(CMainFrameEvent&) {
|
||||||
if (!pDoc->IsConnected())
|
if (!pDoc->IsConnected())
|
||||||
pDoc->Connect(wxEmptyString, wxEmptyString, TRUE);
|
pDoc->Connect(wxEmptyString, wxEmptyString, TRUE);
|
||||||
|
|
||||||
wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::OnInitialized - Function End"));
|
fprintf(stderr, "CMainFrame::OnInitialized - Function End");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1373,12 +1373,14 @@ void CMainFrame::OnListPanelRender(wxTimerEvent&) {
|
||||||
|
|
||||||
|
|
||||||
void CMainFrame::OnDocumentPoll(wxTimerEvent& event) {
|
void CMainFrame::OnDocumentPoll(wxTimerEvent& event) {
|
||||||
|
fprintf(stderr, "CMainFrame::OnDocumentPoll - Function Begin");
|
||||||
CMainDocument* pDoc = wxGetApp().GetDocument();
|
CMainDocument* pDoc = wxGetApp().GetDocument();
|
||||||
|
|
||||||
wxASSERT(pDoc);
|
wxASSERT(pDoc);
|
||||||
wxASSERT(wxDynamicCast(pDoc, CMainDocument));
|
wxASSERT(wxDynamicCast(pDoc, CMainDocument));
|
||||||
|
|
||||||
pDoc->OnPoll();
|
pDoc->OnPoll();
|
||||||
|
fprintf(stderr, "CMainFrame::OnDocumentPoll - Function End");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue