comparison host/tools/configtool/standalone/wxwin/packagesdlg.cpp @ 3278:4b1912ce7f4f

* standalone/wxwin/appsettings.cpp, standalone/wxwin/conflictsdlg.cpp, standalonw/wxwin/docsystem.cpp, standalone/wxwin/ecutils.cpp, standalone/wxwin/packagesdlg.cpp: Silence miscellaneous compiler warnings with recent GCC. [ Bugzilla 1001951 ]
author jld
date Fri, 28 Feb 2014 10:51:15 +0000
parents 53088a1817a7
children b340d0ab5dd3
comparison
equal deleted inserted replaced
3277:047bbfee43f6 3278:4b1912ce7f4f
788 return (m_added.Index(str) != wxNOT_FOUND); 788 return (m_added.Index(str) != wxNOT_FOUND);
789 789
790 // return (((wxListBox*) FindWindow( ecID_PACKAGES_DIALOG_USE_LIST ))->FindString(str) > -1) ; 790 // return (((wxListBox*) FindWindow( ecID_PACKAGES_DIALOG_USE_LIST ))->FindString(str) > -1) ;
791 } 791 }
792 792
793 #if 0
793 static int ecPositionInStringList(const wxStringList& list, const wxString& item) 794 static int ecPositionInStringList(const wxStringList& list, const wxString& item)
794 { 795 {
795 int i; 796 int i;
796 for (i = 0 ; i < list.GetCount(); i++) 797 for (i = 0 ; i < list.GetCount(); i++)
797 if (list[i] == item) 798 if (list[i] == item)
798 return i; 799 return i;
799 else 800 else
800 i ++; 801 i ++;
801 return -1; 802 return -1;
802 } 803 }
804 #endif
803 805
804 void ecPackagesDialog::DisplayDescription(const wxString& item) 806 void ecPackagesDialog::DisplayDescription(const wxString& item)
805 { 807 {
806 //wxTextCtrl* descrCtrl = (wxTextCtrl*) FindWindow( ecID_PACKAGES_DIALOG_DESCRIPTION ) ; 808 //wxTextCtrl* descrCtrl = (wxTextCtrl*) FindWindow( ecID_PACKAGES_DIALOG_DESCRIPTION ) ;
807 ecConfigToolDoc * pDoc = wxGetApp().GetConfigToolDoc (); 809 ecConfigToolDoc * pDoc = wxGetApp().GetConfigToolDoc ();