X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/baeed2892d4f876add61aa04fe34364a7df31f7f..8d71b5552e89e4002dd248f3ae6ab18ed4034523:/src/msw/regconf.cpp?ds=sidebyside diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index 635bdf355d..854d39f7d0 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -282,7 +282,7 @@ bool wxRegConfig::Read(wxString *pStr, } if(IsRecordingDefaults()) - Write(szKey,szDefault); + ((wxRegConfig*)this)->Write(szKey,szDefault); // default value *pStr = szDefault;