-// ----------------------------------------------------------------------------
-// wxColourData
-// ----------------------------------------------------------------------------
-
-wxColourData::wxColourData()
-{
- m_chooseFull = false;
- m_dataColour.Set(0,0,0);
- // m_custColours are wxNullColours initially
-}
-
-wxColourData::wxColourData(const wxColourData& data)
- : wxObject()
-{
- (*this) = data;
-}
-
-wxColourData::~wxColourData()
-{
-}
-
-void wxColourData::SetCustomColour(int i, const wxColour& colour)
-{
- wxCHECK_RET( (i >= 0 && i < 16), _T("custom colour index out of range") );
-
- m_custColours[i] = colour;
-}
-
-wxColour wxColourData::GetCustomColour(int i)
-{
- wxCHECK_MSG( (i >= 0 && i < 16), wxColour(0,0,0),
- _T("custom colour index out of range") );
-
- return m_custColours[i];
-}
-
-void wxColourData::operator=(const wxColourData& data)
-{
- int i;
- for (i = 0; i < 16; i++)
- m_custColours[i] = data.m_custColours[i];
-
- m_dataColour = (wxColour&)data.m_dataColour;
- m_chooseFull = data.m_chooseFull;
-}
-
-// ----------------------------------------------------------------------------
-// Font data
-// ----------------------------------------------------------------------------
-
-wxFontData::wxFontData()
-{
- // Intialize colour to black.
- m_fontColour = wxNullColour;
-
- m_showHelp = false;
- m_allowSymbols = true;
- m_enableEffects = true;
- m_minSize = 0;
- m_maxSize = 0;
-
- m_encoding = wxFONTENCODING_SYSTEM;
-}
-
-wxFontData::~wxFontData()
-{
-}
-
-#if wxUSE_FONTDLG
-
-wxFontDialogBase::~wxFontDialogBase()
-{
-}
-
-#endif // wxUSE_FONTDLG
-
-#if wxUSE_PRINTING_ARCHITECTURE