|
From: Emilien K. <cur...@us...> - 2005-08-03 19:21:33
|
Update of /cvsroot/wxdevcenter/wxDevCenter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19286/src Modified Files: Plugin.cpp Project.cpp View.cpp Log Message: Fix number of bugs and warnings for gcc compilation. Index: Project.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Project.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Project.cpp 14 May 2005 12:15:56 -0000 1.6 --- Project.cpp 3 Aug 2005 19:21:23 -0000 1.7 *************** *** 39,44 **** */ Project::Project(): - wxEvtHandler(), Element(), m_strName(""), m_strPath(""), --- 39,44 ---- */ Project::Project(): Element(), + wxEvtHandler(), m_strName(""), m_strPath(""), Index: Plugin.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/Plugin.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Plugin.cpp 14 May 2005 12:15:56 -0000 1.3 --- Plugin.cpp 3 Aug 2005 19:21:22 -0000 1.4 *************** *** 60,64 **** bool ModuleRefData::Load(wxString strPath) { ! wxLogDebug("Loading module %s", strPath); BaseElementManager* pOldBEM = Element::s_pElementManager; --- 60,64 ---- bool ModuleRefData::Load(wxString strPath) { ! wxLogDebug(wxT("Loading module %s"), strPath.GetData()); BaseElementManager* pOldBEM = Element::s_pElementManager; *************** *** 247,251 **** bool bOk = true; ! wxLogDebug("Loading plugin %s ...", strName); // Préchargement des plugins dépendants. --- 247,251 ---- bool bOk = true; ! wxLogDebug(wxT("Loading plugin %s ..."), strName.GetData()); // Préchargement des plugins dépendants. *************** *** 354,358 **** bool bOk = true; ! wxLogDebug("Loading feature %s ...", strName); // Préchargement des fonctionnalité dépendantes. --- 354,358 ---- bool bOk = true; ! wxLogDebug(wxT("Loading feature %s ..."), strName.GetData()); // Préchargement des fonctionnalité dépendantes. *************** *** 449,453 **** while(bCont) { ! wxLogDebug(" -> %s", str); PreLoadFeature(str); bCont = dir.GetNext(&str); --- 449,453 ---- while(bCont) { ! wxLogDebug(wxT(" -> %s"), str.GetData()); PreLoadFeature(str); bCont = dir.GetNext(&str); *************** *** 459,463 **** while(bCont) { ! wxLogDebug(" -> %s", str); PreLoadPlugin(str); bCont = dir.GetNext(&str); --- 459,463 ---- while(bCont) { ! wxLogDebug(wxT(" -> %s"), str.GetData()); PreLoadPlugin(str); bCont = dir.GetNext(&str); *************** *** 526,530 **** Module* PluginLoader::LoadModule(wxString strPath) { ! wxLogDebug("Loading module %s", strPath); strPath.Prepend(Application::GetApp().GetConfig().GetPluginsPath() + wxT("/")); --- 526,530 ---- Module* PluginLoader::LoadModule(wxString strPath) { ! wxLogDebug(wxT("Loading module %s"), strPath.GetData()); strPath.Prepend(Application::GetApp().GetConfig().GetPluginsPath() + wxT("/")); *************** *** 542,546 **** plugins::Plugin* PluginLoader::LoadPlugin(wxString strName) { ! wxLogDebug("Loading plugin %s", strName); plugins::Plugin& plugin = m_PluginMap[strName]; --- 542,546 ---- plugins::Plugin* PluginLoader::LoadPlugin(wxString strName) { ! wxLogDebug(wxT("Loading plugin %s"), strName.GetData()); plugins::Plugin& plugin = m_PluginMap[strName]; *************** *** 556,560 **** Feature* PluginLoader::LoadFeature(wxString strName) { ! wxLogDebug("Loading feature %s", strName); Feature& feature = m_FeatureMap[strName]; --- 556,560 ---- Feature* PluginLoader::LoadFeature(wxString strName) { ! wxLogDebug(wxT("Loading feature %s"), strName.GetData()); Feature& feature = m_FeatureMap[strName]; *************** *** 570,574 **** bool PluginLoader::InitializePlugin(wxString strName) { ! wxLogDebug("Initializing plugin %s", strName); Plugin& plugin = m_PluginMap[strName]; --- 570,574 ---- bool PluginLoader::InitializePlugin(wxString strName) { ! wxLogDebug(wxT("Initializing plugin %s"), strName.GetData()); Plugin& plugin = m_PluginMap[strName]; *************** *** 582,586 **** bool PluginLoader::InitializeFeature(wxString strName) { ! wxLogDebug("Initializing feature %s", strName); Feature& feature = m_FeatureMap[strName]; --- 582,586 ---- bool PluginLoader::InitializeFeature(wxString strName) { ! wxLogDebug(wxT("Initializing feature %s"), strName.GetData()); Feature& feature = m_FeatureMap[strName]; *************** *** 594,598 **** bool PluginLoader::InitializeModule(wxString strName) { ! wxLogDebug("Initializing module %s", strName); Module& module = m_ModuleMap[strName]; --- 594,598 ---- bool PluginLoader::InitializeModule(wxString strName) { ! wxLogDebug(wxT("Initializing module %s"), strName.GetData()); Module& module = m_ModuleMap[strName]; Index: View.cpp =================================================================== RCS file: /cvsroot/wxdevcenter/wxDevCenter/src/View.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** View.cpp 2 Aug 2005 12:50:54 -0000 1.7 --- View.cpp 3 Aug 2005 19:21:23 -0000 1.8 *************** *** 30,34 **** using namespace wxDevCenter; ! IMPLEMENT_DYNAMIC_CLASS2(View, wxPanel, Element) BEGIN_EVENT_TABLE(View, wxPanel) --- 30,34 ---- using namespace wxDevCenter; ! IMPLEMENT_DYNAMIC_CLASS2(View, Element, wxPanel) BEGIN_EVENT_TABLE(View, wxPanel) *************** *** 38,43 **** View::View(): wxPanel(), - plugins::PluginItem(), m_pDocument(NULL) { --- 38,43 ---- View::View(): + Element(), wxPanel(), m_pDocument(NULL) { |