X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmMain.cpp;h=bae3e30a400e74d45de5e3989ac9fa27f033a3c3;hb=092b6356d5a3abbc9edb00792f95cecb95b17d06;hp=aff45285c7d7edde330829ef16d469857d950aa6;hpb=640ed117f33a19e6d77d49e9ea74e6f0d2e45e29;p=xestiaab%2F.git diff --git a/source/frmMain.cpp b/source/frmMain.cpp index aff4528..bae3e30 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -245,7 +245,7 @@ frmMainADT( parent ) #elif defined(__WIN32__) - int stbBottomData [4] = { -1, 8, 8, 8 }; + int stbBottomData [4] = { -1, 16, 16, 16 }; #else @@ -2806,6 +2806,16 @@ void frmMain::SetupSSLStatus( int AccountID ){ std::map::iterator SSLResultIter = AccountSSLResult.find(AccountID); + // Check if a result value has been set. + + if (SSLResultIter == AccountSSLResult.end()){ + + imgSSLStatus->SetBitmap(*imgSSLWarning); + SSLToolTip->SetTip(wxT("Unable to determine SSL information for the '") + prefaccounts.GetAccountName(AccountID) + wxT("' account.")); + return; + + } + if (SSLResultIter->second == 1){ imgSSLStatus->SetBitmap(*imgSSLWarning);