summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3193b86)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41816
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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"
#if wxUSE_RICHTEXT
#include "wx/richtext/richtextbulletspage.h"
-#ifndef WX_PRECOMP
-#endif
-
#include "wx/richtext/richtextsymboldlg.h"
#include "wx/fontenum.h"
#include "wx/richtext/richtextsymboldlg.h"
#include "wx/fontenum.h"
/*!
* Initialise members
*/
/*!
* Initialise members
*/
void wxRichTextBulletsPage::Init()
{
m_hasBulletStyle = false;
void wxRichTextBulletsPage::Init()
{
m_hasBulletStyle = false;
m_symbolCtrl->Append(_(">"));
m_symbolCtrl->Append(_("+"));
m_symbolCtrl->Append(_("~"));
m_symbolCtrl->Append(_(">"));
m_symbolCtrl->Append(_("+"));
m_symbolCtrl->Append(_("~"));
wxFontEnumerator enumerator;
enumerator.EnumerateFacenames();
wxArrayString facenames = enumerator.GetFacenames();
facenames.Sort();
wxFontEnumerator enumerator;
enumerator.EnumerateFacenames();
wxArrayString facenames = enumerator.GetFacenames();
facenames.Sort();
m_symbolFontCtrl->Append(facenames);
}
m_symbolFontCtrl->Append(facenames);
}
if (attr->GetBulletStyle() & wxTEXT_ATTR_BULLET_STYLE_PERIOD)
m_periodCtrl->SetValue(true);
else
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);
}
else
m_styleListBox->SetSelection(-1);
if (dlg.ShowModal() == wxID_OK)
{
m_dontUpdate = true;
if (dlg.ShowModal() == wxID_OK)
{
m_dontUpdate = true;
m_symbolCtrl->SetValue(dlg.GetSymbol());
m_symbolFontCtrl->SetValue(dlg.GetFontName());
m_symbolCtrl->SetValue(dlg.GetSymbol());
m_symbolFontCtrl->SetValue(dlg.GetFontName());
UpdatePreview();
m_dontUpdate = false;
UpdatePreview();
m_dontUpdate = false;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-////@begin includes
-////@end includes
-
#include "../../include/wx/richtext/richtextfontpage.h"
#include "../../include/wx/richtext/richtextfontpage.h"
-////@begin XPM images
-////@end XPM images
-
/*!
* wxRichTextFontPage type definition
*/
/*!
* wxRichTextFontPage type definition
*/
/*!
* Initialise members
*/
/*!
* Initialise members
*/
void wxRichTextFontPage::Init()
{
m_dontUpdate = false;
void wxRichTextFontPage::Init()
{
m_dontUpdate = false;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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"
#if wxUSE_RICHTEXT
#include "wx/richtext/richtextindentspage.h"
-#ifndef WX_PRECOMP
-#endif
-
/*!
* wxRichTextIndentsSpacingPage type definition
*/
/*!
* wxRichTextIndentsSpacingPage type definition
*/
/*!
* Initialise members
*/
/*!
* Initialise members
*/
void wxRichTextIndentsSpacingPage::Init()
{
m_dontUpdate = false;
void wxRichTextIndentsSpacingPage::Init()
{
m_dontUpdate = false;
/////////////////////////////////////////////////////////////////////////////
// Name: src/richtext/richtextstylepage.cpp
/////////////////////////////////////////////////////////////////////////////
// Name: src/richtext/richtextstylepage.cpp
// Created: 10/5/2006 11:34:55 AM
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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"
#if wxUSE_RICHTEXT
#include "wx/richtext/richtextstylepage.h"
-#ifndef WX_PRECOMP
-#endif
-
/*!
* wxRichTextStylePage type definition
*/
/*!
* wxRichTextStylePage type definition
*/
/*!
* Initialise members
*/
/*!
* Initialise members
*/
void wxRichTextStylePage::Init()
{
////@begin wxRichTextStylePage member initialisation
void wxRichTextStylePage::Init()
{
////@begin wxRichTextStylePage member initialisation
*/
void wxRichTextStylePage::CreateControls()
*/
void wxRichTextStylePage::CreateControls()
////@begin wxRichTextStylePage content construction
wxRichTextStylePage* itemPanel1 = this;
////@begin wxRichTextStylePage content construction
wxRichTextStylePage* itemPanel1 = this;
}
m_nextStyle->SetValue(paraDef->GetNextStyle());
}
}
m_nextStyle->SetValue(paraDef->GetNextStyle());
}
if (m_basedOn->GetCount() == 0)
{
if (sheet)
if (m_basedOn->GetCount() == 0)
{
if (sheet)
m_basedOn->SetValue(def->GetBaseStyle());
return true;
m_basedOn->SetValue(def->GetBaseStyle());
return true;
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// 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"
#if wxUSE_RICHTEXT
#include "wx/richtext/richtexttabspage.h"
-#ifndef WX_PRECOMP
-#endif
-
/*!
* wxRichTextTabsPage type definition
*/
/*!
* wxRichTextTabsPage type definition
*/
/*!
* Initialise members
*/
/*!
* Initialise members
*/
void wxRichTextTabsPage::Init()
{
m_tabsPresent = false;
void wxRichTextTabsPage::Init()
{
m_tabsPresent = false;