X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9869734d0431a29732006119f2d4ed35af70ca9b..4b5d9823ec8c849bcd51e3b15ba78f656e54493e:/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())