]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fileconf.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / fileconf.h
index c2cf0404b1072c49b1a32f8fffccac333963b367..819ea75cc5cba882db859756b65b42cfa8738bb4 100644 (file)
@@ -121,6 +121,11 @@ public:
                const wxString& globalFilename = wxT(""),
                long style = wxCONFIG_USE_LOCAL_FILE);
 
+#if wxUSE_STREAMS
+    // ctor that takes an input stream.
+  wxFileConfig(wxInputStream &inStream);
+#endif // wxUSE_STREAMS
+
     // dtor will save unsaved data
   virtual ~wxFileConfig();
 
@@ -210,7 +215,7 @@ private:
   void CleanUp();
 
   // parse the whole file
-  void Parse(wxTextFile& file, bool bLocal);
+  void Parse(wxTextBuffer& buffer, bool bLocal);
 
   // the same as SetPath("/")
   void SetRootPath();