]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/stc/edit.h
Added richtextprinting.cpp/h
[wxWidgets.git] / samples / stc / edit.h
index 54034003ae9115571d4f0afdf61c4d7437a33150..4a7ecf79d135586491a09742b00dee5ded2c9f91 100644 (file)
@@ -23,7 +23,7 @@
 //! wxWidgets headers
 
 //! wxWidgets/contrib headers
-#include <wx/stc/stc.h>  // styled text control
+#include "wx/stc/stc.h"  // styled text control
 
 //! application headers
 #include "prefs.h"       // preferences
@@ -139,6 +139,8 @@ private:
 
 };
 
+#if wxUSE_PRINTING_ARCHITECTURE
+
 //----------------------------------------------------------------------------
 //! EditPrint
 class EditPrint: public wxPrintout {
@@ -165,5 +167,6 @@ private:
     bool PrintScaling (wxDC *dc);
 };
 
-#endif // _EDIT_H_
+#endif // wxUSE_PRINTING_ARCHITECTURE
 
+#endif // _EDIT_H_