X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a8b04e9c387b5e5295d42f2ed23afcf37e3c2e..bd278c1bcf25a4eb7910dce69e0c10092d6a933e:/samples/stc/defsext.h diff --git a/samples/stc/defsext.h b/samples/stc/defsext.h index eb55caf94a..ec8391c423 100644 --- a/samples/stc/defsext.h +++ b/samples/stc/defsext.h @@ -15,16 +15,16 @@ // headers //---------------------------------------------------------------------------- -//! wxWindows headers -#include // printing support -#include // printing dialog +//! wxWidgets headers +#include "wx/print.h" // printing support +#include "wx/printdlg.h" // printing dialog //============================================================================ // declarations //============================================================================ -#define DEFAULT_LANGUAGE _("") +#define DEFAULT_LANGUAGE "" #define PAGE_COMMON _("Common") #define PAGE_LANGUAGES _("Languages") @@ -96,9 +96,12 @@ enum { //! global application name extern wxString *g_appname; +#if wxUSE_PRINTING_ARCHITECTURE + //! global print data, to remember settings during the session extern wxPrintData *g_printData; extern wxPageSetupData *g_pageSetupData; -#endif // _WX_DEFSEXT_H_ +#endif // wxUSE_PRINTING_ARCHITECTURE +#endif // _WX_DEFSEXT_H_