More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,7 +59,7 @@ ctSettings::ctSettings()
|
||||
// m_backgroundColour = wxColour(140, 172, 179); // blue-grey
|
||||
m_editWindowFont = wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
|
||||
|
||||
m_appName = wxT("wxWindows Configuration Tool");
|
||||
m_appName = wxT("wxWidgets Configuration Tool");
|
||||
m_appNameShort = wxT("Configuration Tool");
|
||||
m_showSplashScreen = FALSE;
|
||||
m_userName = wxEmptyString;
|
||||
@@ -163,7 +163,7 @@ wxString ctSettings::GenerateFilename(const wxString& rootName)
|
||||
// Load config info
|
||||
bool ctSettings::LoadConfig()
|
||||
{
|
||||
wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWindows"));
|
||||
wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWidgets"));
|
||||
|
||||
config.Read(wxT("Files/LastFile"), & m_lastFilename);
|
||||
config.Read(wxT("Files/LastSetupSaveDir"), & m_lastSetupSaveDir);
|
||||
@@ -224,7 +224,7 @@ bool ctSettings::LoadConfig()
|
||||
// Save config info
|
||||
bool ctSettings::SaveConfig()
|
||||
{
|
||||
wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWindows"));
|
||||
wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWidgets"));
|
||||
|
||||
config.Write(wxT("Files/LastFile"), m_lastFilename);
|
||||
config.Write(wxT("Files/LastSetupSaveDir"), m_lastSetupSaveDir);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: configitem.cpp
|
||||
// Purpose: wxWindows Configuration Tool config item class
|
||||
// Purpose: wxWidgets Configuration Tool config item class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 2003-06-03
|
||||
@@ -246,7 +246,7 @@ void ctConfigItem::InitProperties()
|
||||
|
||||
m_properties.AddProperty(
|
||||
new ctProperty(
|
||||
wxT("<B>Help-topic</B><P> The help topic in the wxWindows manual for this component or setting."),
|
||||
wxT("<B>Help-topic</B><P> The help topic in the wxWidgets manual for this component or setting."),
|
||||
wxVariant(wxT(""), wxT("help-topic")),
|
||||
wxT("multiline")));
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: configitem.h
|
||||
// Purpose: wxWindows Configuration Tool config item class
|
||||
// Purpose: wxWidgets Configuration Tool config item class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 2003-06-03
|
||||
|
||||
@@ -266,7 +266,7 @@ bool ctConfigToolDoc::DoSave(const wxString& filename)
|
||||
return FALSE;
|
||||
|
||||
stream << wxT("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");
|
||||
stream << wxT("<settings xmlns=\"http://www.wxwindows.org/wxs\" version=\"2.5.0.1\">");
|
||||
stream << wxT("<settings xmlns=\"http://www.wxwidgets.org/wxs\" version=\"2.5.0.1\">");
|
||||
|
||||
DoSave(m_topItem, stream, 1);
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
virtual bool OnSaveDocument(const wxString& filename);
|
||||
virtual bool OnNewDocument() { return TRUE; }
|
||||
virtual bool OnCloseDocument() ;
|
||||
virtual bool Save(); // Overridden only to correct bug in wxWindows, docview.cpp
|
||||
virtual bool Save(); // Overridden only to correct bug in wxWidgets, docview.cpp
|
||||
|
||||
//// Accessors
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: configtree.h
|
||||
// Purpose: wxWindows Configuration Tool tree class
|
||||
// Purpose: wxWidgets Configuration Tool tree class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 2003-06-03
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: configtree.h
|
||||
// Purpose: wxWindows Configuration Tool tree class
|
||||
// Purpose: wxWidgets Configuration Tool tree class
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 2003-06-03
|
||||
|
||||
@@ -337,7 +337,7 @@ wxMenuBar* ctMainFrame::CreateMenuBar()
|
||||
|
||||
wxMenu *helpMenu = new wxMenu;
|
||||
helpMenu->Append(wxID_HELP, wxT("&Help Contents"), wxT("Show Configuration Tool help"));
|
||||
helpMenu->Append(ctID_REFERENCE_CONTENTS, wxT("&wxWindows Help Contents"), wxT("Show wxWindows reference"));
|
||||
helpMenu->Append(ctID_REFERENCE_CONTENTS, wxT("&wxWidgets Help Contents"), wxT("Show wxWidgets reference"));
|
||||
helpMenu->AppendSeparator();
|
||||
helpMenu->Append(ctID_ITEM_HELP, wxT("&Configuration Option Help\tF1"), wxT("Show help for the selected option"));
|
||||
helpMenu->Append(wxID_HELP_CONTEXT, wxT("&What's this?"), wxT("Show help on the clicked item"));
|
||||
@@ -352,7 +352,7 @@ wxMenuBar* ctMainFrame::CreateMenuBar()
|
||||
menuBar->Append(helpMenu, wxT("&Help"));
|
||||
|
||||
{
|
||||
wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWindows"));
|
||||
wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWidgets"));
|
||||
config.SetPath(wxT("FileHistory/"));
|
||||
wxGetApp().GetDocManager()->FileHistoryLoad(config);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: propeditor.cpp
|
||||
// Purpose: wxWindows Configuration Tool property editor
|
||||
// Purpose: wxWidgets Configuration Tool property editor
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 2003-06-03
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: propeditor.cpp
|
||||
// Purpose: Property editor for wxWindows configuration tool
|
||||
// Purpose: Property editor for wxWidgets configuration tool
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 2003-06-03
|
||||
|
||||
@@ -319,25 +319,25 @@ void ctLocationSettingsDialog::CreateControls()
|
||||
wxStaticBoxSizer* item13 = new wxStaticBoxSizer(item13Static, wxVERTICAL);
|
||||
item12->Add(item13, 1, wxGROW|wxALL, 5);
|
||||
|
||||
wxStaticText* item14 = new wxStaticText(item11, wxID_STATIC, _("&wxWindows hierarchy:"), wxDefaultPosition, wxDefaultSize, 0);
|
||||
wxStaticText* item14 = new wxStaticText(item11, wxID_STATIC, _("&wxWidgets hierarchy:"), wxDefaultPosition, wxDefaultSize, 0);
|
||||
item13->Add(item14, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5);
|
||||
|
||||
wxBoxSizer* item15 = new wxBoxSizer(wxHORIZONTAL);
|
||||
item13->Add(item15, 0, wxGROW, 5);
|
||||
|
||||
wxTextCtrl* item16 = new wxTextCtrl(item11, ID_WXWIN_HIERARCHY, _(""), wxDefaultPosition, wxSize(200, -1), 0);
|
||||
item16->SetHelpText(_("Enter the root path of the wxWindows hierarchy"));
|
||||
item16->SetHelpText(_("Enter the root path of the wxWidgets hierarchy"));
|
||||
#if wxUSE_TOOLTIPS
|
||||
if (ShowToolTips())
|
||||
item16->SetToolTip(_("Enter the root path of the wxWindows hierarchy"));
|
||||
item16->SetToolTip(_("Enter the root path of the wxWidgets hierarchy"));
|
||||
#endif
|
||||
item15->Add(item16, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
||||
wxButton* item17 = new wxButton(item11, ID_CHOOSE_WXWIN_HIERARCHY, _("&Choose..."), wxDefaultPosition, wxDefaultSize, 0);
|
||||
item17->SetHelpText(_("Click to choose the root path of the wxWindows hierarchy\\n"));
|
||||
item17->SetHelpText(_("Click to choose the root path of the wxWidgets hierarchy\\n"));
|
||||
#if wxUSE_TOOLTIPS
|
||||
if (ShowToolTips())
|
||||
item17->SetToolTip(_("Click to choose the root path of the wxWindows hierarchy\\n"));
|
||||
item17->SetToolTip(_("Click to choose the root path of the wxWidgets hierarchy\\n"));
|
||||
#endif
|
||||
item15->Add(item17, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||
|
||||
@@ -382,7 +382,7 @@ void ctLocationSettingsDialog::OnChooseWxwinHierarchy( wxCommandEvent& WXUNUSED(
|
||||
wxASSERT( textCtrl != NULL );
|
||||
wxString defaultPath = textCtrl->GetValue();
|
||||
|
||||
wxDirDialog dialog(this, _("Choose the location of the wxWindows hierarchy"),
|
||||
wxDirDialog dialog(this, _("Choose the location of the wxWidgets hierarchy"),
|
||||
defaultPath);
|
||||
if (dialog.ShowModal() == wxID_OK)
|
||||
{
|
||||
|
||||
@@ -33,6 +33,6 @@
|
||||
#define ctDESCRIPTION_BACKGROUND_COLOUR wxColour(255, 255, 192)
|
||||
|
||||
// Misc symbols
|
||||
#define ctSYMBOL_WEBSITE wxT("http://www.wxwindows.org")
|
||||
#define ctSYMBOL_WEBSITE wxT("http://www.wxwidgets.org")
|
||||
|
||||
#endif
|
||||
|
||||
@@ -68,7 +68,7 @@ public:
|
||||
/// Returns the help controller object for the manual.
|
||||
wxHelpControllerBase& GetHelpController() { return *m_helpController; }
|
||||
|
||||
/// Returns the help controller object for the wxWindows reference manual.
|
||||
/// Returns the help controller object for the wxWidgets reference manual.
|
||||
wxHelpControllerBase& GetReferenceHelpController() { return *m_helpControllerReference; }
|
||||
|
||||
/// Returns the document manager object.
|
||||
@@ -91,7 +91,7 @@ public:
|
||||
/// Saves config info to the registry or a file.
|
||||
virtual bool SaveConfig();
|
||||
|
||||
/// The help controller needs to be cleared before wxWindows
|
||||
/// The help controller needs to be cleared before wxWidgets
|
||||
/// cleanup happens.
|
||||
void ClearHelpControllers() ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user