X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..84ac8772b751bc5b5642f4c1608a7eeef171613d:/contrib/samples/stc/edit.h?ds=sidebyside diff --git a/contrib/samples/stc/edit.h b/contrib/samples/stc/edit.h index 22d5c8cac3..4a7ecf79d1 100644 --- a/contrib/samples/stc/edit.h +++ b/contrib/samples/stc/edit.h @@ -23,7 +23,7 @@ //! wxWidgets headers //! wxWidgets/contrib headers -#include // styled text control +#include "wx/stc/stc.h" // styled text control //! application headers #include "prefs.h" // preferences @@ -45,7 +45,7 @@ class Edit: public wxStyledTextCtrl { public: //! constructor - Edit (wxWindow *parent, wxWindowID id = -1, + Edit (wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxSUNKEN_BORDER|wxVSCROLL @@ -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_