]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/reswrite.cpp
Added layout constraints call to wxNotebook
[wxWidgets.git] / utils / dialoged / src / reswrite.cpp
index 57b0ed849ea4916c1ca1a40414141113bc958a0f..9cdde107dc5223b51a3eb6ad047d6072178f1c44 100644 (file)
 #include <math.h>
 #include <string.h>
 
+#if wxUSE_IOSTREAMH
 #if defined(__WXMSW__) && !defined(__GNUWIN32__)
 #include <strstrea.h>
+#include <fstream.h>
 #else
 #include <strstream.h>
-#endif
-
 #include <fstream.h>
+#endif
+#else
+#include <strstream>
+#include <fstream>
+#endif
 
 #include "wx/scrolbar.h"
 #include "wx/string.h"
@@ -305,7 +310,9 @@ bool wxResourceTableWithSaving::SaveResource(ostream& stream, wxItemResource* it
           node = node->Next();
         }
       }
-      stream << "], ";
+      stream << "]";
+/* Styles are now in the window style, not in a separate arg
+      stream << ", ";
       switch (item->GetValue1())
       {
         case wxLB_MULTIPLE:
@@ -325,6 +332,8 @@ bool wxResourceTableWithSaving::SaveResource(ostream& stream, wxItemResource* it
           break;
         }
       }
+ */
+
       if (item->GetFont().Ok())
       {
         stream << ",\\\n      ";