]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/prntdlgg.h
I've put live into Vadim's wxNavigationKeyEvent idea
[wxWidgets.git] / include / wx / generic / prntdlgg.h
index c9cbee6d7516a65bfa6552c0246826010a5a0e48..0ac2878eeb11d66eba9c8f380bcaa974237d80e3 100644 (file)
@@ -29,6 +29,7 @@ class WXDLLEXPORT wxCheckBox;
 class WXDLLEXPORT wxChoice;
 class WXDLLEXPORT wxStaticText;
 class WXDLLEXPORT wxRadioBox;
+class WXDLLEXPORT wxPrintSetupData;
 
 /*
  * Simulated Print and Print Setup dialogs
@@ -94,7 +95,11 @@ class WXDLLEXPORT wxGenericPrintSetupDialog: public wxDialog
   wxCheckBox *colourCheckBox;
   wxChoice   *paperTypeChoice;
 
+#if wxUSE_POSTSCRIPT
   wxPrintSetupData printData;
+  inline wxPrintSetupData& GetPrintData(void) { return printData; }
+#endif
+
   wxGenericPrintSetupDialog(wxWindow *parent, wxPrintSetupData* data);
   ~wxGenericPrintSetupDialog(void);
 
@@ -102,7 +107,6 @@ class WXDLLEXPORT wxGenericPrintSetupDialog: public wxDialog
   virtual bool TransferDataToWindow(void);
 
   wxChoice *CreatePaperTypeChoice(int* x, int* y);
-  inline wxPrintSetupData& GetPrintData(void) { return printData; }
 };
 
 #define wxPRINTID_LEFTMARGIN         30
@@ -127,7 +131,7 @@ class WXDLLEXPORT wxGenericPageSetupDialog: public wxDialog
   
   wxPageSetupData pageData;
 
-  wxGenericPageSetupDialog(wxWindow *parent, wxPageSetupData* data = NULL);
+  wxGenericPageSetupDialog(wxWindow *parent, wxPageSetupData* data = (wxPageSetupData*) NULL);
   ~wxGenericPageSetupDialog(void);
 
   virtual bool TransferDataFromWindow(void);