2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: cmndata.h
|
2008-04-08 01:34:11 -04:00
|
|
|
// Purpose: interface of common wx*Data classes (font, colour, print)
|
2008-03-08 08:52:38 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxFontData
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This class holds a variety of information related to font dialogs.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxcore}
|
2009-02-20 06:34:52 -05:00
|
|
|
@category{cmndlg,data}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
@see @ref overview_cmndlg_font, wxFont, wxFontDialog
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxFontData : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Constructor. Initializes @e fontColour to black, @e showHelp to @false,
|
|
|
|
@e allowSymbols to @true, @e enableEffects to @true, @e minSize to 0
|
|
|
|
and @e maxSize to 0.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
wxFontData();
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Enables or disables "effects" under Windows or generic only. This
|
|
|
|
refers to the controls for manipulating colour, strikeout and underline
|
|
|
|
properties.
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @true.
|
|
|
|
*/
|
|
|
|
void EnableEffects(bool enable);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Under Windows, returns a flag determining whether symbol fonts can be
|
|
|
|
selected. Has no effect on other platforms.
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @true.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
bool GetAllowSymbols() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Gets the font chosen by the user if the user pressed OK
|
2008-04-08 01:34:11 -04:00
|
|
|
(wxFontDialog::ShowModal() returned wxID_OK).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
wxFont GetChosenFont() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Gets the colour associated with the font dialog.
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is black.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
const wxColour& GetColour() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Determines whether "effects" are enabled under Windows. This refers to
|
|
|
|
the controls for manipulating colour, strikeout and underline
|
|
|
|
properties.
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @true.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
bool GetEnableEffects() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Gets the font that will be initially used by the font dialog. This
|
|
|
|
should have previously been set by the application.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
wxFont GetInitialFont() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the Help button will be shown (Windows only).
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @false.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
bool GetShowHelp() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Under Windows, determines whether symbol fonts can be selected. Has no
|
2008-03-08 08:52:38 -05:00
|
|
|
effect on other platforms.
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @true.
|
|
|
|
*/
|
|
|
|
void SetAllowSymbols(bool allowSymbols);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the font that will be returned to the user (for internal use
|
|
|
|
only).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetChosenFont(const wxFont& font);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the colour that will be used for the font foreground colour.
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default colour is black.
|
|
|
|
*/
|
|
|
|
void SetColour(const wxColour& colour);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the font that will be initially used by the font dialog.
|
|
|
|
*/
|
|
|
|
void SetInitialFont(const wxFont& font);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the valid range for the font point size (Windows only).
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default is 0, 0 (unrestricted range).
|
|
|
|
*/
|
|
|
|
void SetRange(int min, int max);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Determines whether the Help button will be displayed in the font dialog
|
|
|
|
(Windows only).
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @false.
|
|
|
|
*/
|
|
|
|
void SetShowHelp(bool showHelp);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Assignment operator for the font data.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxFontData& operator =(const wxFontData& data);
|
2008-03-08 08:52:38 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
/**
|
|
|
|
@class wxPageSetupDialogData
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This class holds a variety of information related to wxPageSetupDialog.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
It contains a wxPrintData member which is used to hold basic printer
|
2008-04-08 01:34:11 -04:00
|
|
|
configuration data (as opposed to the user-interface configuration settings
|
|
|
|
stored by wxPageSetupDialogData).
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxcore}
|
2009-02-20 06:34:52 -05:00
|
|
|
@category{printing,data}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
@see @ref overview_printing, wxPageSetupDialog
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxPageSetupDialogData : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Default constructor.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
wxPageSetupDialogData();
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
Copy constructor.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxPageSetupDialogData(const wxPageSetupDialogData& data);
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
Construct an object from a print data object.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxPageSetupDialogData(const wxPrintData& printData);
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Destructor.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
virtual ~wxPageSetupDialogData();
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Enables or disables the "Help" button (Windows only).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void EnableHelp(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Enables or disables the margin controls (Windows only).
|
|
|
|
*/
|
|
|
|
void EnableMargins(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Enables or disables the orientation control (Windows only).
|
|
|
|
*/
|
|
|
|
void EnableOrientation(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Enables or disables the paper size control (Windows only).
|
|
|
|
*/
|
|
|
|
void EnablePaper(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Enables or disables the "Printer" button, which invokes a printer setup
|
|
|
|
dialog.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void EnablePrinter(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns @true if the dialog will simply return default printer
|
|
|
|
information (such as orientation) instead of showing a dialog (Windows
|
|
|
|
only).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetDefaultInfo() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns @true if the page setup dialog will take its minimum margin
|
|
|
|
values from the currently selected printer properties (Windows only).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetDefaultMinMargins() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the printer setup button is enabled.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetEnableHelp() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the margin controls are enabled (Windows only).
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetEnableMargins() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the orientation control is enabled (Windows only).
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetEnableOrientation() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the paper size control is enabled (Windows only).
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetEnablePaper() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the printer setup button is enabled.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetEnablePrinter() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the right (x) and bottom (y) margins in millimetres.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPoint GetMarginBottomRight() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the left (x) and top (y) margins in millimetres.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPoint GetMarginTopLeft() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the right (x) and bottom (y) minimum margins the user can enter
|
2008-04-08 01:34:11 -04:00
|
|
|
(Windows only). Units are in millimetres.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPoint GetMinMarginBottomRight() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns the left (x) and top (y) minimum margins the user can enter
|
|
|
|
(Windows only). Units are in millimetres.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPoint GetMinMarginTopLeft() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the paper id (stored in the internal wxPrintData object).
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
@see wxPrintData::SetPaperId()
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPaperSize GetPaperId() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the paper size in millimetres.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxSize GetPaperSize() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns a reference to the print data associated with this object.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxPrintData& GetPrintData();
|
|
|
|
const wxPrintData& GetPrintData() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns @true if the print data associated with the dialog data is
|
|
|
|
valid. This can return @false on Windows if the current printer is not
|
|
|
|
set, for example. On all other platforms, it returns @true.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool IsOk() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Pass @true if the dialog will simply return default printer information
|
|
|
|
(such as orientation) instead of showing a dialog (Windows only).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetDefaultInfo(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Pass @true if the page setup dialog will take its minimum margin values
|
|
|
|
from the currently selected printer properties (Windows only). Units
|
|
|
|
are in millimetres.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetDefaultMinMargins(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the right (x) and bottom (y) margins in millimetres.
|
|
|
|
*/
|
|
|
|
void SetMarginBottomRight(const wxPoint& pt);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the left (x) and top (y) margins in millimetres.
|
|
|
|
*/
|
|
|
|
void SetMarginTopLeft(const wxPoint& pt);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the right (x) and bottom (y) minimum margins the user can enter
|
|
|
|
(Windows only). Units are in millimetres.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetMinMarginBottomRight(const wxPoint& pt);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the left (x) and top (y) minimum margins the user can enter
|
|
|
|
(Windows only). Units are in millimetres.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetMinMarginTopLeft(const wxPoint& pt);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the paper size id. Calling this function overrides the explicit
|
|
|
|
paper dimensions passed in SetPaperSize().
|
|
|
|
|
|
|
|
@see wxPrintData::SetPaperId()
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
void SetPaperId(wxPaperSize id);
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the paper size in millimetres. If a corresponding paper id is
|
|
|
|
found, it will be set in the internal wxPrintData object, otherwise the
|
|
|
|
paper size overrides the paper id.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetPaperSize(const wxSize& size);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the print data associated with this object.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetPrintData(const wxPrintData& printData);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Assigns print data to this object.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxPageSetupDialogData& operator =(const wxPrintData& data);
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
Assigns page setup data to this object.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxPageSetupDialogData& operator =(const wxPageSetupDialogData& data);
|
2008-03-08 08:52:38 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
/**
|
|
|
|
@class wxColourData
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This class holds a variety of information related to colour dialogs.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxcore}
|
2009-02-20 06:34:52 -05:00
|
|
|
@category{cmndlg,data}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
@see wxColour, wxColourDialog, @ref overview_cmndlg_colour
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxColourData : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Constructor. Initializes the custom colours to @c wxNullColour, the
|
|
|
|
@e data colour setting to black, and the @e choose full setting to
|
|
|
|
@true.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
wxColourData();
|
|
|
|
|
|
|
|
/**
|
|
|
|
Destructor.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
virtual ~wxColourData();
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Under Windows, determines whether the Windows colour dialog will
|
|
|
|
display the full dialog with custom colour selection controls. Under
|
|
|
|
PalmOS, determines whether colour dialog will display full rgb colour
|
|
|
|
picker or only available palette indexer. Has no meaning under other
|
|
|
|
platforms.
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @true.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetChooseFull() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Gets the current colour associated with the colour dialog.
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default colour is black.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
wxColour& GetColour();
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns custom colours associated with the colour dialog.
|
|
|
|
|
|
|
|
@param i
|
|
|
|
An integer between 0 and 15, being any of the 15 custom colours
|
|
|
|
that the user has saved. The default custom colours are invalid
|
|
|
|
colours.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-09-24 13:57:18 -04:00
|
|
|
wxColour GetCustomColour(int i) const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Under Windows, tells the Windows colour dialog to display the full
|
|
|
|
dialog with custom colour selection controls. Under other platforms,
|
|
|
|
has no effect.
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default value is @true.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
void SetChooseFull(bool flag);
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the default colour for the colour dialog.
|
2008-04-08 01:34:11 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
The default colour is black.
|
|
|
|
*/
|
|
|
|
void SetColour(const wxColour& colour);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets custom colours for the colour dialog.
|
|
|
|
|
|
|
|
@param i
|
|
|
|
An integer between 0 and 15 for whatever custom colour you want to
|
|
|
|
set. The default custom colours are invalid colours.
|
2008-10-04 16:49:51 -04:00
|
|
|
@param colour
|
|
|
|
The colour to set
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetCustomColour(int i, const wxColour& colour);
|
|
|
|
|
|
|
|
/**
|
2008-11-15 06:49:24 -05:00
|
|
|
Converts the colours saved in this class in a string form, separing
|
|
|
|
the various colours with a comma.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-11-15 06:49:24 -05:00
|
|
|
wxString ToString() const;
|
2008-09-24 13:57:18 -04:00
|
|
|
|
2008-11-15 06:49:24 -05:00
|
|
|
/**
|
|
|
|
Decodes the given string, which should be in the same format returned
|
|
|
|
by ToString(), and sets the internal colours.
|
|
|
|
*/
|
|
|
|
bool FromString(const wxString& str);
|
2008-09-24 13:57:18 -04:00
|
|
|
|
2008-11-15 06:49:24 -05:00
|
|
|
/**
|
|
|
|
Assignment operator for the colour data.
|
|
|
|
*/
|
|
|
|
wxColourData& operator =(const wxColourData& data);
|
2008-03-08 08:52:38 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
/**
|
|
|
|
Enumeration of various printer bin sources.
|
|
|
|
|
|
|
|
@see wxPrintData::SetBin()
|
|
|
|
*/
|
|
|
|
enum wxPrintBin
|
|
|
|
{
|
|
|
|
wxPRINTBIN_DEFAULT,
|
|
|
|
|
|
|
|
wxPRINTBIN_ONLYONE,
|
|
|
|
wxPRINTBIN_LOWER,
|
|
|
|
wxPRINTBIN_MIDDLE,
|
|
|
|
wxPRINTBIN_MANUAL,
|
|
|
|
wxPRINTBIN_ENVELOPE,
|
|
|
|
wxPRINTBIN_ENVMANUAL,
|
|
|
|
wxPRINTBIN_AUTO,
|
|
|
|
wxPRINTBIN_TRACTOR,
|
|
|
|
wxPRINTBIN_SMALLFMT,
|
|
|
|
wxPRINTBIN_LARGEFMT,
|
|
|
|
wxPRINTBIN_LARGECAPACITY,
|
|
|
|
wxPRINTBIN_CASSETTE,
|
|
|
|
wxPRINTBIN_FORMSOURCE,
|
|
|
|
|
|
|
|
wxPRINTBIN_USER,
|
|
|
|
};
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
/**
|
|
|
|
@class wxPrintData
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
This class holds a variety of information related to printers and printer
|
|
|
|
device contexts. This class is used to create a wxPrinterDC and a
|
|
|
|
wxPostScriptDC. It is also used as a data member of wxPrintDialogData and
|
|
|
|
wxPageSetupDialogData, as part of the mechanism for transferring data
|
2008-03-08 08:52:38 -05:00
|
|
|
between the print dialogs and the application.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
@remarks
|
2008-09-24 13:57:18 -04:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
The following functions are specific to PostScript printing and have not
|
|
|
|
yet been documented:
|
|
|
|
|
|
|
|
@code
|
|
|
|
const wxString& GetPrinterCommand() const ;
|
|
|
|
const wxString& GetPrinterOptions() const ;
|
|
|
|
const wxString& GetPreviewCommand() const ;
|
|
|
|
const wxString& GetFilename() const ;
|
|
|
|
const wxString& GetFontMetricPath() const ;
|
|
|
|
double GetPrinterScaleX() const ;
|
|
|
|
double GetPrinterScaleY() const ;
|
|
|
|
long GetPrinterTranslateX() const ;
|
|
|
|
long GetPrinterTranslateY() const ;
|
|
|
|
// wxPRINT_MODE_PREVIEW, wxPRINT_MODE_FILE, wxPRINT_MODE_PRINTER
|
|
|
|
wxPrintMode GetPrintMode() const ;
|
|
|
|
|
|
|
|
void SetPrinterCommand(const wxString& command) ;
|
|
|
|
void SetPrinterOptions(const wxString& options) ;
|
|
|
|
void SetPreviewCommand(const wxString& command) ;
|
|
|
|
void SetFilename(const wxString& filename) ;
|
|
|
|
void SetFontMetricPath(const wxString& path) ;
|
|
|
|
void SetPrinterScaleX(double x) ;
|
|
|
|
void SetPrinterScaleY(double y) ;
|
|
|
|
void SetPrinterScaling(double x, double y) ;
|
|
|
|
void SetPrinterTranslateX(long x) ;
|
|
|
|
void SetPrinterTranslateY(long y) ;
|
|
|
|
void SetPrinterTranslation(long x, long y) ;
|
|
|
|
void SetPrintMode(wxPrintMode printMode) ;
|
|
|
|
@endcode
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxcore}
|
2009-02-20 06:34:52 -05:00
|
|
|
@category{printing,data}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
@see @ref overview_printing, wxPrintDialog, wxPageSetupDialog,
|
|
|
|
wxPrintDialogData, wxPageSetupDialogData, @ref overview_cmndlg_print,
|
|
|
|
wxPrinterDC, wxPostScriptDC
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxPrintData : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Default constructor.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
wxPrintData();
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
Copy constructor.
|
|
|
|
*/
|
2008-03-08 09:43:31 -05:00
|
|
|
wxPrintData(const wxPrintData& data);
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Destructor.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
virtual ~wxPrintData();
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns the current bin (papersource). By default, the system is left
|
|
|
|
to select the bin (@c wxPRINTBIN_DEFAULT is returned).
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
See SetBin() for the full list of bin values.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPrintBin GetBin() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if collation is on.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetCollate() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if colour printing is on.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetColour() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the duplex mode. One of wxDUPLEX_SIMPLEX, wxDUPLEX_HORIZONTAL,
|
|
|
|
wxDUPLEX_VERTICAL.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxDuplexMode GetDuplex() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the number of copies requested by the user.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
int GetNoCopies() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Gets the orientation. This can be wxLANDSCAPE or wxPORTRAIT.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
int GetOrientation() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns the paper size id.
|
|
|
|
|
|
|
|
@see SetPaperId()
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPaperSize GetPaperId() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns the printer name. If the printer name is the empty string, it
|
|
|
|
indicates that the default printer should be used.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
const wxString& GetPrinterName() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns the current print quality. This can be a positive integer,
|
|
|
|
denoting the number of dots per inch, or one of the following
|
|
|
|
identifiers:
|
2008-03-20 09:45:17 -04:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
- wxPRINT_QUALITY_HIGH
|
|
|
|
- wxPRINT_QUALITY_MEDIUM
|
|
|
|
- wxPRINT_QUALITY_LOW
|
|
|
|
- wxPRINT_QUALITY_DRAFT
|
|
|
|
|
|
|
|
On input you should pass one of these identifiers, but on return you
|
|
|
|
may get back a positive integer indicating the current resolution
|
|
|
|
setting.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
wxPrintQuality GetQuality() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the print data is valid for using in print dialogs.
|
2008-04-08 01:34:11 -04:00
|
|
|
This can return @false on Windows if the current printer is not set,
|
|
|
|
for example. On all other platforms, it returns @true.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool IsOk() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the current bin.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetBin(wxPrintBin flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets collation to on or off.
|
|
|
|
*/
|
|
|
|
void SetCollate(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets colour printing on or off.
|
|
|
|
*/
|
|
|
|
void SetColour(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the duplex mode. One of wxDUPLEX_SIMPLEX, wxDUPLEX_HORIZONTAL,
|
|
|
|
wxDUPLEX_VERTICAL.
|
|
|
|
*/
|
|
|
|
void SetDuplex(wxDuplexMode mode);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the default number of copies to be printed out.
|
|
|
|
*/
|
|
|
|
void SetNoCopies(int n);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the orientation. This can be wxLANDSCAPE or wxPORTRAIT.
|
|
|
|
*/
|
|
|
|
void SetOrientation(int orientation);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the paper id. This indicates the type of paper to be used. For a
|
|
|
|
mapping between paper id, paper size and string name, see
|
|
|
|
wxPrintPaperDatabase in @c "paper.h" (not yet documented).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetPaperId(wxPaperSize paperId);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the printer name. This can be the empty string to indicate that
|
|
|
|
the default printer should be used.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetPrinterName(const wxString& printerName);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the desired print quality. This can be a positive integer,
|
|
|
|
denoting the number of dots per inch, or one of the following
|
|
|
|
identifiers:
|
|
|
|
|
|
|
|
- wxPRINT_QUALITY_HIGH
|
|
|
|
- wxPRINT_QUALITY_MEDIUM
|
|
|
|
- wxPRINT_QUALITY_LOW
|
|
|
|
- wxPRINT_QUALITY_DRAFT
|
2008-03-20 09:45:17 -04:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
On input you should pass one of these identifiers, but on return you
|
|
|
|
may get back a positive integer indicating the current resolution
|
|
|
|
setting.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetQuality(wxPrintQuality quality);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Assigns print data to this object.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-11-13 16:32:53 -05:00
|
|
|
wxPrintData& operator =(const wxPrintData& data);
|
2008-03-08 08:52:38 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
/**
|
|
|
|
@class wxPrintDialogData
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This class holds information related to the visual characteristics of
|
2008-04-08 01:34:11 -04:00
|
|
|
wxPrintDialog. It contains a wxPrintData object with underlying printing
|
|
|
|
settings.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxcore}
|
2009-02-20 06:34:52 -05:00
|
|
|
@category{printing,cmndlg,data}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-04-08 01:34:11 -04:00
|
|
|
@see @ref overview_printing, wxPrintDialog, @ref overview_cmndlg_print
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxPrintDialogData : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Default constructor.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
wxPrintDialogData();
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
Copy constructor.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxPrintDialogData(const wxPrintDialogData& dialogData);
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
Construct an object from a print dialog data object.
|
|
|
|
*/
|
2008-09-24 19:29:43 -04:00
|
|
|
wxPrintDialogData(const wxPrintData& printData);
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Destructor.
|
|
|
|
*/
|
2008-09-22 15:01:17 -04:00
|
|
|
virtual ~wxPrintDialogData();
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Enables or disables the "Help" button.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void EnableHelp(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Enables or disables the "Page numbers" controls.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void EnablePageNumbers(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Enables or disables the "Print to file" checkbox.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void EnablePrintToFile(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Enables or disables the "Selection" radio button.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void EnableSelection(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the user requested that all pages be printed.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetAllPages() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the user requested that the document(s) be collated.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetCollate() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the @e from page number, as entered by the user.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
int GetFromPage() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the @e maximum page number.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
int GetMaxPage() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the @e minimum page number.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
int GetMinPage() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns the number of copies requested by the user.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
int GetNoCopies() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns a reference to the internal wxPrintData object.
|
|
|
|
*/
|
2008-04-08 01:34:11 -04:00
|
|
|
wxPrintData& GetPrintData();
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the user has selected printing to a file.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetPrintToFile() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns @true if the user requested that the selection be printed
|
|
|
|
(where "selection" is a concept specific to the application).
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool GetSelection() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Returns the @e "print to" page number, as entered by the user.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
int GetToPage() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Returns @true if the print data is valid for using in print dialogs.
|
2008-04-08 01:34:11 -04:00
|
|
|
This can return @false on Windows if the current printer is not set,
|
|
|
|
for example. On all other platforms, it returns @true.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool IsOk() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the "Collate" checkbox to @true or @false.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetCollate(bool flag);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the @e from page number.
|
|
|
|
*/
|
|
|
|
void SetFromPage(int page);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the @e maximum page number.
|
|
|
|
*/
|
|
|
|
void SetMaxPage(int page);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the @e minimum page number.
|
|
|
|
*/
|
|
|
|
void SetMinPage(int page);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the default number of copies the user has requested to be printed
|
|
|
|
out.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetNoCopies(int n);
|
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the internal wxPrintData.
|
|
|
|
*/
|
|
|
|
void SetPrintData(const wxPrintData& printData);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the "Print to file" checkbox to @true or @false.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetPrintToFile(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Selects the "Selection" radio button. The effect of printing the
|
|
|
|
selection depends on how the application implements this command, if at
|
|
|
|
all.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetSelection(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
@deprecated This function has been deprecated since version 2.5.4.
|
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
Determines whether the dialog to be shown will be the Print dialog
|
|
|
|
(pass @false) or Print Setup dialog (pass @true).
|
2008-09-24 13:57:18 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetSetupDialog(bool flag);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Sets the @e "print to" page number.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void SetToPage(int page);
|
|
|
|
|
|
|
|
/**
|
2008-04-08 01:34:11 -04:00
|
|
|
Assigns print data to this object.
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
void operator =(const wxPrintData& data);
|
2008-04-08 01:34:11 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
Assigns another print dialog data object to this object.
|
|
|
|
*/
|
2008-03-08 09:43:31 -05:00
|
|
|
void operator =(const wxPrintDialogData& data);
|
2008-03-08 08:52:38 -05:00
|
|
|
};
|
2008-03-10 11:24:38 -04:00
|
|
|
|