From: <ma...@us...> - 2003-12-29 06:22:45
|
Update of /cvsroot/sharedaemon/ui-wx/src In directory sc8-pr-cvs1:/tmp/cvs-serv19967/src Modified Files: MainDlg.cpp ServerWnd.cpp Log Message: URLs are now highlighted in log box (win32 only), reverted to old flickering iconsetupdating due to refreshing issues. Index: MainDlg.cpp =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/MainDlg.cpp,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- MainDlg.cpp 29 Dec 2003 06:08:48 -0000 1.44 +++ MainDlg.cpp 29 Dec 2003 06:22:42 -0000 1.45 @@ -188,6 +188,11 @@ wxGetApp().mainframe_active = true; start_up = false; + wxLogMessage(_("ShareDaemon wxInterface up and running!")); + wxLogMessage( + _("Visit http://sharedaemon.sourceforge.net " + "for latest updates.") + ); } /****************************************************************** ~CMainDlg */ @@ -1065,8 +1070,6 @@ /* through the list of pages and calling images->UpdateImages on each of them.*/ /******************************************************************************/ void CMainDlg::UpdateImages() { - Freeze(); - img->LoadImages(); wxLogDebug(wxT("Updating all pages images...")); for (size_t i=0;i<pages.GetCount();i++) { @@ -1093,6 +1096,4 @@ systray->SetIcon(icon); #endif - Thaw(); - Refresh(); } Index: ServerWnd.cpp =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/ServerWnd.cpp,v retrieving revision 1.53 retrieving revision 1.54 diff -u -d -r1.53 -r1.54 --- ServerWnd.cpp 29 Dec 2003 06:08:48 -0000 1.53 +++ ServerWnd.cpp 29 Dec 2003 06:22:42 -0000 1.54 @@ -282,7 +282,8 @@ s_bottom->Add(s_log); wxTextCtrl *txt_logs = new wxTextCtrl( bottom_panel, ID_LOG, wxEmptyString, wxDefaultPosition, - wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY + wxDefaultSize, + wxTE_MULTILINE|wxTE_READONLY|wxTE_RICH|wxTE_AUTO_URL ); new wxLogChain(new wxLogTextCtrl(txt_logs)); s_bottom->Add(txt_logs, 0, wxGROW|wxEXPAND, 5); |