*** empty log message ***

svn path=/trunk/boinc/; revision=5806
This commit is contained in:
Rom Walton 2005-04-08 18:26:02 +00:00
parent d23dca8530
commit 92de5a571a
1 changed files with 18 additions and 16 deletions

View File

@ -142,8 +142,8 @@ wxInt32 CNetworkConnectionThread::SetNewComputerPassword( const wxChar* szPasswo
void CNetworkConnectionThread::SetStateError() {
CMainFrame* pFrame = wxGetApp().GetFrame();
wxASSERT(wxDynamicCast(pFrame, CMainFrame));
if (wxDynamicCast(pFrame, CMainFrame)) {
m_bConnected = false;
m_bReconnecting = false;
m_bReconnectOnError = false;
@ -151,6 +151,7 @@ void CNetworkConnectionThread::SetStateError() {
m_bConnectEvent = false;
pFrame->FireConnectError();
}
}
@ -164,8 +165,8 @@ void CNetworkConnectionThread::SetStateReconnecting() {
void CNetworkConnectionThread::SetStateSuccess( std::string& strComputer, std::string& strComputerPassword ) {
CMainFrame* pFrame = wxGetApp().GetFrame();
wxASSERT(wxDynamicCast(pFrame, CMainFrame));
if (wxDynamicCast(pFrame, CMainFrame)) {
m_bConnected = true;
m_bReconnecting = false;
m_bReconnectOnError = true;
@ -177,6 +178,7 @@ void CNetworkConnectionThread::SetStateSuccess( std::string& strComputer, std::s
m_bConnectEvent = false;
pFrame->FireConnect();
}
}