X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..89b3361ec25cf1e6d255b14c7633d8375646e4fb:/samples/stc/defsext.h diff --git a/samples/stc/defsext.h b/samples/stc/defsext.h index 70d53c8213..89993393d3 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") @@ -73,6 +73,7 @@ enum { myID_PAGEPREV, myID_PAGENEXT, myID_SELECTLINE, + myID_WINDOW_MINIMAL, // other IDs myID_STATUSBAR, @@ -96,9 +97,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; +extern wxPageSetupDialogData *g_pageSetupData; -#endif // _WX_DEFSEXT_H_ +#endif // wxUSE_PRINTING_ARCHITECTURE +#endif // _WX_DEFSEXT_H_