/////////////////////////////////////////////////////////////////////////////
-// Name: richtextstyles.cpp
+// Name: src/richtext/richtextstyles.cpp
// Purpose: Style management for wxRichTextCtrl
// Author: Julian Smart
-// Modified by:
+// Modified by:
// Created: 2005-09-30
-// RCS-ID:
+// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/richtext/richtextstyles.h"
#ifndef WX_PRECOMP
- #include "wx/wx.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/filename.h"
if (def->GetName().Lower() == name.Lower())
return def;
}
- return NULL;
+ return NULL;
}
/// Delete all styles
int size = 5;
// Standard size is 12, say
- size += 12 - def->GetStyle().GetFontSize();
+ size += 12 - def->GetStyle().GetFontSize();
str += wxT("<font");
if (def && GetRichTextCtrl())
{
wxRichTextRange range(m_richTextCtrl->GetInsertionPoint(), m_richTextCtrl->GetInsertionPoint());
-
+
// Flags are defined within each definition, so only certain
// attributes are applied.
wxRichTextAttr attr(def->GetStyle());
#endif
// wxUSE_RICHTEXT
-