]> git.saurik.com Git - wxWidgets.git/commitdiff
Reverted config/resource name change
authorJulian Smart <julian@anthemion.co.uk>
Wed, 26 May 2004 10:49:43 +0000 (10:49 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 26 May 2004 10:49:43 +0000 (10:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/fmappriv.h
src/generic/filedlgg.cpp
src/gtk/utilsres.cpp
src/gtk1/utilsres.cpp
src/html/helpctrl.cpp
src/msw/utils.cpp

index 37bd783ced2a8564004be2f53ba729bdc20970e6..63924093ce075a37dd3d5938f2a8e6d136f07714 100644 (file)
@@ -25,7 +25,7 @@ enum { wxFONTENCODING_UNKNOWN = -2 };
 // the config paths we use
 #if wxUSE_CONFIG
 
-#define FONTMAPPER_ROOT_PATH wxT("/wxWidgets/FontMapper")
+#define FONTMAPPER_ROOT_PATH wxT("/wxWindows/FontMapper")
 #define FONTMAPPER_CHARSET_PATH wxT("Charsets")
 #define FONTMAPPER_CHARSET_ALIAS_PATH wxT("Aliases")
 
index 0b0d167ebe509b6f5ed04bcf1270455ffe3a2a7c..903c2423ccf464da86869e0dd1486a8d8ab31020 100644 (file)
@@ -873,9 +873,9 @@ wxGenericFileDialog::wxGenericFileDialog(wxWindow *parent,
 
     if (wxConfig::Get(FALSE))
     {
-        wxConfig::Get()->Read(wxT("/wxWidgets/wxFileDialog/ViewStyle"),
+        wxConfig::Get()->Read(wxT("/wxWindows/wxFileDialog/ViewStyle"),
                               &ms_lastViewStyle);
-        wxConfig::Get()->Read(wxT("/wxWidgets/wxFileDialog/ShowHidden"),
+        wxConfig::Get()->Read(wxT("/wxWindows/wxFileDialog/ShowHidden"),
                               &ms_lastShowHidden);
     }
 
@@ -1037,9 +1037,9 @@ wxGenericFileDialog::~wxGenericFileDialog()
 {
     if (wxConfig::Get(FALSE))
     {
-        wxConfig::Get()->Write(wxT("/wxWidgets/wxFileDialog/ViewStyle"),
+        wxConfig::Get()->Write(wxT("/wxWindows/wxFileDialog/ViewStyle"),
                                ms_lastViewStyle);
-        wxConfig::Get()->Write(wxT("/wxWidgets/wxFileDialog/ShowHidden"),
+        wxConfig::Get()->Write(wxT("/wxWindows/wxFileDialog/ShowHidden"),
                                ms_lastShowHidden);
     }
 
index e3f817e19f4c2204d19d55c95c525bd696f45c4a..69c6097176a2b36f26cb6aa70d3ff03a8f24c60f 100644 (file)
@@ -28,7 +28,7 @@
 bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file )
 {
     wxString filename( file );
-    if (filename.IsEmpty()) filename = wxT(".wxWidgets");
+    if (filename.IsEmpty()) filename = wxT(".wxWindows");
     
     wxFileConfig conf( wxTheApp->GetAppName(), wxTheApp->GetVendorName(), filename );
     
@@ -64,7 +64,7 @@ bool wxWriteResource(const wxString& section, const wxString& entry, int value,
 bool wxGetResource(const wxString& section, const wxString& entry, wxChar **value, const wxString& file )
 {
     wxString filename( file );
-    if (filename.IsEmpty()) filename = wxT(".wxWidgets");
+    if (filename.IsEmpty()) filename = wxT(".wxWindows");
 
     wxFileConfig conf( wxTheApp->GetAppName(), wxTheApp->GetVendorName(), filename );
 
index e3f817e19f4c2204d19d55c95c525bd696f45c4a..69c6097176a2b36f26cb6aa70d3ff03a8f24c60f 100644 (file)
@@ -28,7 +28,7 @@
 bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file )
 {
     wxString filename( file );
-    if (filename.IsEmpty()) filename = wxT(".wxWidgets");
+    if (filename.IsEmpty()) filename = wxT(".wxWindows");
     
     wxFileConfig conf( wxTheApp->GetAppName(), wxTheApp->GetVendorName(), filename );
     
@@ -64,7 +64,7 @@ bool wxWriteResource(const wxString& section, const wxString& entry, int value,
 bool wxGetResource(const wxString& section, const wxString& entry, wxChar **value, const wxString& file )
 {
     wxString filename( file );
-    if (filename.IsEmpty()) filename = wxT(".wxWidgets");
+    if (filename.IsEmpty()) filename = wxT(".wxWindows");
 
     wxFileConfig conf( wxTheApp->GetAppName(), wxTheApp->GetVendorName(), filename );
 
index ca6194c4cc329b66113ec305c00ebee6b9caf429..5f0bc3fd68e44db3555a3f40bc13e88cb4953547 100644 (file)
@@ -137,7 +137,7 @@ void wxHtmlHelpController::CreateHelpWindow()
     {
         m_Config = wxConfigBase::Get(FALSE);
         if (m_Config != NULL)
-            m_ConfigRoot = _T("wxWidgets/wxHtmlHelpController");
+            m_ConfigRoot = _T("wxWindows/wxHtmlHelpController");
     }
 
     m_helpFrame = CreateHelpFrame(&m_helpData);
index 51f41d61c758d99bdc7cccfc9de5ad08dabc982e..3f969455189793b17d03b2e301d3ee62a33be6dd 100644 (file)
 // ----------------------------------------------------------------------------
 
 // In the WIN.INI file
-static const wxChar WX_SECTION[] = wxT("wxWidgets");
+static const wxChar WX_SECTION[] = wxT("wxWindows");
 static const wxChar eUSERNAME[]  = wxT("UserName");
 
 // ============================================================================