// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-// For compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
#if wxUSE_RICHTEXT
#include "wx/richtext/richtextbulletspage.h"
-#ifndef WX_PRECOMP
-#endif
-
#include "wx/richtext/richtextsymboldlg.h"
#include "wx/fontenum.h"
/*!
* Initialise members
*/
-
+
void wxRichTextBulletsPage::Init()
{
m_hasBulletStyle = false;
m_symbolCtrl->Append(_(">"));
m_symbolCtrl->Append(_("+"));
m_symbolCtrl->Append(_("~"));
-
+
wxFontEnumerator enumerator;
enumerator.EnumerateFacenames();
wxArrayString facenames = enumerator.GetFacenames();
facenames.Sort();
-
+
m_symbolFontCtrl->Append(facenames);
}
if (attr->GetBulletStyle() & wxTEXT_ATTR_BULLET_STYLE_PERIOD)
m_periodCtrl->SetValue(true);
else
- m_periodCtrl->SetValue(false);
+ m_periodCtrl->SetValue(false);
}
else
m_styleListBox->SetSelection(-1);
if (dlg.ShowModal() == wxID_OK)
{
m_dontUpdate = true;
-
+
m_symbolCtrl->SetValue(dlg.GetSymbol());
m_symbolFontCtrl->SetValue(dlg.GetFontName());
-
+
UpdatePreview();
m_dontUpdate = false;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-////@begin includes
-////@end includes
-
#include "../../include/wx/richtext/richtextfontpage.h"
-////@begin XPM images
-////@end XPM images
-
/*!
* wxRichTextFontPage type definition
*/
/*!
* Initialise members
*/
-
+
void wxRichTextFontPage::Init()
{
m_dontUpdate = false;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-// For compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
#if wxUSE_RICHTEXT
#include "wx/richtext/richtextindentspage.h"
-#ifndef WX_PRECOMP
-#endif
-
/*!
* wxRichTextIndentsSpacingPage type definition
*/
/*!
* Initialise members
*/
-
+
void wxRichTextIndentsSpacingPage::Init()
{
m_dontUpdate = false;
/////////////////////////////////////////////////////////////////////////////
// Name: src/richtext/richtextstylepage.cpp
-// Purpose:
+// Purpose:
// Author: Julian Smart
-// Modified by:
+// Modified by:
// Created: 10/5/2006 11:34:55 AM
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-// For compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
#if wxUSE_RICHTEXT
#include "wx/richtext/richtextstylepage.h"
-#ifndef WX_PRECOMP
-#endif
-
/*!
* wxRichTextStylePage type definition
*/
/*!
* Initialise members
*/
-
+
void wxRichTextStylePage::Init()
{
////@begin wxRichTextStylePage member initialisation
*/
void wxRichTextStylePage::CreateControls()
-{
+{
////@begin wxRichTextStylePage content construction
wxRichTextStylePage* itemPanel1 = this;
}
m_nextStyle->SetValue(paraDef->GetNextStyle());
}
-
+
if (m_basedOn->GetCount() == 0)
{
if (sheet)
}
}
}
-
+
m_basedOn->SetValue(def->GetBaseStyle());
return true;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-// For compilers that support precompilation, includes "wx/wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
- #pragma hdrstop
-#endif
-
#if wxUSE_RICHTEXT
#include "wx/richtext/richtexttabspage.h"
-#ifndef WX_PRECOMP
-#endif
-
/*!
* wxRichTextTabsPage type definition
*/
/*!
* Initialise members
*/
-
+
void wxRichTextTabsPage::Init()
{
m_tabsPresent = false;