]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/iniconf.cpp
More key event work. Added SetDetectableAutoRepeat.
[wxWidgets.git] / src / msw / iniconf.cpp
index f5c1162378f673cc63ef3680bd3f4ef467338761..22199a3f397df2d9307f58f54ea2c72de1bef4de 100644 (file)
@@ -60,12 +60,12 @@ wxIniConfig::wxIniConfig(const wxString& strAppName,
                          const wxString& localFilename,
                          const wxString& globalFilename,
                          long style)
-           : wxConfigBase(!appName && wxTheApp ? wxTheApp->GetAppName()
-                                               : appName,
-                          !vendorName ? (wxTheApp ? wxTheApp->GetVendorName()
-                                                  : appName)
-                                      : vendorName,
-                          strLocal, strGlobal, style),
+           : wxConfigBase(!strAppName && wxTheApp ? wxTheApp->GetAppName()
+                                               : strAppName,
+                          !strVendor ? (wxTheApp ? wxTheApp->GetVendorName()
+                                                  : strAppName)
+                                      : strVendor,
+                          localFilename, globalFilename, style)
 {
     m_strLocalFilename = localFilename;
     if (m_strLocalFilename.IsEmpty())