X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..2bd56258555dda8637c4ffa950a17259210e903e:/samples/stc/defsext.h?ds=sidebyside diff --git a/samples/stc/defsext.h b/samples/stc/defsext.h index 70d53c8213..ec8391c423 100644 --- a/samples/stc/defsext.h +++ b/samples/stc/defsext.h @@ -16,15 +16,15 @@ //---------------------------------------------------------------------------- //! wxWidgets headers -#include // printing support -#include // printing dialog +#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_