]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/regconf.cpp
Resource sample works now, apart from
[wxWidgets.git] / src / msw / regconf.cpp
index 635bdf355dd712614fb1b405b7f87fcf472cc575..854d39f7d011592dc8d31404cca40ca892840d90 100644 (file)
@@ -282,7 +282,7 @@ bool wxRegConfig::Read(wxString *pStr,
   }
 
   if(IsRecordingDefaults())
-     Write(szKey,szDefault);
+     ((wxRegConfig*)this)->Write(szKey,szDefault);
 
   // default value
   *pStr = szDefault;