]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/prop.cpp
splitter doesn't change position when the window containing it is minimized and restored
[wxWidgets.git] / src / generic / prop.cpp
index 058a0d5026f94f8293bcd22f2724e749ac499f81..11214bbb976c6edc997eec54e7e3ee95461a78d2 100644 (file)
@@ -30,7 +30,7 @@
 #include <string.h>
 
 #if wxUSE_IOSTREAMH
-#if defined(__WXMSW__) && !defined(__GNUWIN32__)
+#if defined(__WXMSW__) && !defined(__GNUWIN32__) && !defined(__WXWINE__)
 #include <strstrea.h>
 #else
 #include <strstream.h>
@@ -535,7 +535,7 @@ void wxPropertyValue::WritePropertyType(ostream& stream)    // Write as any othe
     {
 //      stream << "\"";
       int i;
-      const wxWX2MBbuf strbuf = wxConv_libc.cWX2MB(m_value.string);
+      const wxWX2MBbuf strbuf = wxConvCurrent->cWX2MB(m_value.string);
       int len = strlen(strbuf);
       for (i = 0; i < len; i++)
       {