compilation fixes for !wxUSE_POSTSCRIPT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,6 +29,7 @@ class WXDLLEXPORT wxCheckBox;
|
|||||||
class WXDLLEXPORT wxChoice;
|
class WXDLLEXPORT wxChoice;
|
||||||
class WXDLLEXPORT wxStaticText;
|
class WXDLLEXPORT wxStaticText;
|
||||||
class WXDLLEXPORT wxRadioBox;
|
class WXDLLEXPORT wxRadioBox;
|
||||||
|
class WXDLLEXPORT wxPrintSetupData;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Simulated Print and Print Setup dialogs
|
* Simulated Print and Print Setup dialogs
|
||||||
@@ -94,7 +95,11 @@ class WXDLLEXPORT wxGenericPrintSetupDialog: public wxDialog
|
|||||||
wxCheckBox *colourCheckBox;
|
wxCheckBox *colourCheckBox;
|
||||||
wxChoice *paperTypeChoice;
|
wxChoice *paperTypeChoice;
|
||||||
|
|
||||||
|
#if wxUSE_POSTSCRIPT
|
||||||
wxPrintSetupData printData;
|
wxPrintSetupData printData;
|
||||||
|
inline wxPrintSetupData& GetPrintData(void) { return printData; }
|
||||||
|
#endif
|
||||||
|
|
||||||
wxGenericPrintSetupDialog(wxWindow *parent, wxPrintSetupData* data);
|
wxGenericPrintSetupDialog(wxWindow *parent, wxPrintSetupData* data);
|
||||||
~wxGenericPrintSetupDialog(void);
|
~wxGenericPrintSetupDialog(void);
|
||||||
|
|
||||||
@@ -102,7 +107,6 @@ class WXDLLEXPORT wxGenericPrintSetupDialog: public wxDialog
|
|||||||
virtual bool TransferDataToWindow(void);
|
virtual bool TransferDataToWindow(void);
|
||||||
|
|
||||||
wxChoice *CreatePaperTypeChoice(int* x, int* y);
|
wxChoice *CreatePaperTypeChoice(int* x, int* y);
|
||||||
inline wxPrintSetupData& GetPrintData(void) { return printData; }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define wxPRINTID_LEFTMARGIN 30
|
#define wxPRINTID_LEFTMARGIN 30
|
||||||
|
@@ -29,7 +29,6 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/frame.h"
|
#include "wx/frame.h"
|
||||||
#include "wx/postscrp.h"
|
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/filedlg.h"
|
#include "wx/filedlg.h"
|
||||||
#include "wx/msgdlg.h"
|
#include "wx/msgdlg.h"
|
||||||
@@ -42,6 +41,7 @@
|
|||||||
#include "wx/list.h"
|
#include "wx/list.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/postscrp.h"
|
||||||
#include "wx/dcmemory.h"
|
#include "wx/dcmemory.h"
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
Reference in New Issue
Block a user