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