- // Setup the account icons.
-
- wxMemoryInputStream astream(icons_accinet_png, sizeof(icons_accinet_png));
- wxMemoryInputStream bstream(icons_acclocal_png, sizeof(icons_acclocal_png));
- wxMemoryInputStream cstream(icons_accgroup_png, sizeof(icons_accgroup_png));
- wxMemoryInputStream dstream(icons_accnone_png, sizeof(icons_accnone_png));
-
- wxImage icons_accinet_png(astream, wxBITMAP_TYPE_PNG);
- wxBitmap AccInet(icons_accinet_png, -1);
- wxIcon wxIAccInet;
- wxIAccInet.CopyFromBitmap(AccInet);
-
- wxImage icons_acclocal_png(bstream, wxBITMAP_TYPE_PNG);
- wxBitmap AccNIcon(icons_acclocal_png, -1);
- wxIcon wxIAccNIcon;
- wxIAccNIcon.CopyFromBitmap(AccNIcon);
-
- wxImage icons_accgroup_png(cstream, wxBITMAP_TYPE_PNG);
- wxBitmap AccGrp(icons_accgroup_png, -1);
- wxIcon wxIAccGrp;
- wxIAccGrp.CopyFromBitmap(AccGrp);
-
- wxImage icons_accnone_png(dstream, wxBITMAP_TYPE_PNG);
- wxBitmap AccNone(icons_accnone_png, -1);
- wxIcon wxIAccNone;
- wxIAccNone.CopyFromBitmap(AccNone);
-
- AccountID = AccImgList->Add(wxIAccNIcon);
- AccountNetID = AccImgList->Add(wxIAccInet);
- AccountGrpID = AccImgList->Add(wxIAccGrp);
- AccountNoneID = AccImgList->Add(wxIAccNone);
-
- bmpIcon->SetIcon(AccImgList->GetIcon(AccountNoneID));
-
- // Setup the status bar icons.
-
- // SSL icons.
-
- wxMemoryInputStream sslstream(icons_ssl_png, sizeof(icons_ssl_png));
- wxMemoryInputStream sslwarningstream(icons_sslwarning_png, sizeof(icons_sslwarning_png));
- wxMemoryInputStream nosslstream(icons_nossl_png, sizeof(icons_nossl_png));
-
- wxImage icons_ssl_png(sslstream, wxBITMAP_TYPE_PNG);
- imgSSL = new wxBitmap(icons_ssl_png, -1);
-
- wxImage icons_sslwarning_png(sslwarningstream, wxBITMAP_TYPE_PNG);
- imgSSLWarning = new wxBitmap(icons_sslwarning_png, -1);
-
- wxImage icons_nossl_png(nosslstream, wxBITMAP_TYPE_PNG);
- imgNoSSL = new wxBitmap(icons_nossl_png, -1);
+ // Setup the account icons.
+
+ wxMemoryInputStream astream(icons_accinet_png, sizeof(icons_accinet_png));
+ wxMemoryInputStream bstream(icons_acclocal_png, sizeof(icons_acclocal_png));
+ wxMemoryInputStream cstream(icons_accgroup_png, sizeof(icons_accgroup_png));
+ wxMemoryInputStream dstream(icons_accnone_png, sizeof(icons_accnone_png));
+ wxMemoryInputStream estream(icons_accunsupported_png, sizeof(icons_accunsupported_png));
+
+ wxImage icons_accinet_png(astream, wxBITMAP_TYPE_PNG);
+ wxBitmap AccInet(icons_accinet_png, -1);
+ wxIcon wxIAccInet;
+ wxIAccInet.CopyFromBitmap(AccInet);
+
+ wxImage icons_acclocal_png(bstream, wxBITMAP_TYPE_PNG);
+ wxBitmap AccNIcon(icons_acclocal_png, -1);
+ wxIcon wxIAccNIcon;
+ wxIAccNIcon.CopyFromBitmap(AccNIcon);
+
+ wxImage icons_accgroup_png(cstream, wxBITMAP_TYPE_PNG);
+ wxBitmap AccGrp(icons_accgroup_png, -1);
+ wxIcon wxIAccGrp;
+ wxIAccGrp.CopyFromBitmap(AccGrp);
+
+ wxImage icons_accnone_png(dstream, wxBITMAP_TYPE_PNG);
+ wxBitmap AccNone(icons_accnone_png, -1);
+ wxIcon wxIAccNone;
+ wxIAccNone.CopyFromBitmap(AccNone);
+
+ wxImage icons_accunsupported_png(estream, wxBITMAP_TYPE_PNG);
+ wxBitmap AccUnsupported(icons_accunsupported_png, -1);
+ wxIcon wxIAccUnsupported;
+ wxIAccUnsupported.CopyFromBitmap(AccUnsupported);