X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9869734d0431a29732006119f2d4ed35af70ca9b..f0492f7d97d77ec085e58d3f4a66c86508bc5f31:/src/msw/iniconf.cpp diff --git a/src/msw/iniconf.cpp b/src/msw/iniconf.cpp index f5c1162378..22199a3f39 100644 --- a/src/msw/iniconf.cpp +++ b/src/msw/iniconf.cpp @@ -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())