//! 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
Edit (wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
- long style = wxSUNKEN_BORDER|wxVSCROLL
+ long style =
+#ifndef __WXMAC__
+ wxSUNKEN_BORDER|
+#endif
+ wxVSCROLL
);
//! destructor
};
+#if wxUSE_PRINTING_ARCHITECTURE
+
//----------------------------------------------------------------------------
//! EditPrint
class EditPrint: public wxPrintout {
public:
//! constructor
- EditPrint (Edit *edit, wxChar *title = _T(""));
+ EditPrint (Edit *edit, const wxChar *title = _T(""));
//! event handlers
bool OnPrintPage (int page);
bool PrintScaling (wxDC *dc);
};
-#endif // _EDIT_H_
+#endif // wxUSE_PRINTING_ARCHITECTURE
+#endif // _EDIT_H_