]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ogl/samples/studio/studio.cpp
Some OGl updates:
[wxWidgets.git] / utils / ogl / samples / studio / studio.cpp
index 76a6135e23ccfa465bdd1e4662514465cc3d3559..87556d57cc0354fa318a3368b267fabb8bc7f944 100644 (file)
 #include "wx/config.h"
 #include "wx/laywin.h"
 
-#ifdef __WXGTK__
-#include "folder.xpm"
-#endif
-
 #include "studio.h"
 #include "view.h"
 #include "doc.h"
@@ -500,8 +496,8 @@ bool csApp::WriteOptions()
     config.Write("mainY", m_mainFramePos.y);
     config.Write("mainWidth", m_mainFrameSize.x);
     config.Write("mainHeight", m_mainFrameSize.y);
-    config.Write("gridStyle", m_gridStyle);
-    config.Write("gridSpacing", m_gridSpacing);
+    config.Write("gridStyle", (long) m_gridStyle);
+    config.Write("gridSpacing", (long) m_gridSpacing);
 
     m_docManager->FileHistorySave(config);