X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..355debca0650f70aa8ed4803b2ebc45541e03d9f:/samples/stc/defsext.h diff --git a/samples/stc/defsext.h b/samples/stc/defsext.h index 70d53c8213..e7428b7da5 100644 --- a/samples/stc/defsext.h +++ b/samples/stc/defsext.h @@ -16,8 +16,8 @@ //---------------------------------------------------------------------------- //! wxWidgets headers -#include // printing support -#include // printing dialog +#include "wx/print.h" // printing support +#include "wx/printdlg.h" // printing dialog //============================================================================ @@ -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_