]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/ogl/ogledit/doc.h
added ability to generate wx24-like wxWindows.dsp
[wxWidgets.git] / contrib / samples / ogl / ogledit / doc.h
index 6817c6d3d42460b1621aca12e20203ee171e5c61..93e98fec6c4e0c8fbf2a35a7a5d38cdaa707fd8c 100644 (file)
 #include <wx/docview.h>
 #include <wx/cmdproc.h>
 #include <wx/string.h>
-#include <wx/wxexpr.h>
+
+#include <wx/deprecated/setup.h>
+
+#if wxUSE_PROLOGIO
+#include <wx/deprecated/wxexpr.h>
+#endif
 
 #include <wx/ogl/ogl.h>
 
@@ -35,8 +40,10 @@ class MyDiagram: public wxDiagram
 {
  public:
   MyDiagram(void) {}
+#if wxUSE_PROLOGIO
   bool OnShapeSave(wxExprDatabase& db, wxShape& shape, wxExpr& expr);
   bool OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr);
+#endif
 };
 
 /*