GCC warning fix. Minor cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: richtextstyles.h
|
// Name: wx/richtext/richtextstyles.h
|
||||||
// Purpose: Style management for wxRichTextCtrl
|
// Purpose: Style management for wxRichTextCtrl
|
||||||
// Author: Julian Smart
|
// Author: Julian Smart
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -16,10 +16,12 @@
|
|||||||
* Includes
|
* Includes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "wx/richtext/richtextbuffer.h"
|
#include "wx/defs.h"
|
||||||
|
|
||||||
#if wxUSE_RICHTEXT
|
#if wxUSE_RICHTEXT
|
||||||
|
|
||||||
|
#include "wx/richtext/richtextbuffer.h"
|
||||||
|
|
||||||
#if wxUSE_HTML
|
#if wxUSE_HTML
|
||||||
#include "wx/htmllbox.h"
|
#include "wx/htmllbox.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -47,7 +49,11 @@ public:
|
|||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
wxRichTextStyleDefinition(const wxRichTextStyleDefinition& def) { Copy(def); }
|
wxRichTextStyleDefinition(const wxRichTextStyleDefinition& def)
|
||||||
|
: wxObject()
|
||||||
|
{
|
||||||
|
Copy(def);
|
||||||
|
}
|
||||||
wxRichTextStyleDefinition(const wxString& name = wxEmptyString) { Init(); m_name = name; }
|
wxRichTextStyleDefinition(const wxString& name = wxEmptyString) { Init(); m_name = name; }
|
||||||
virtual ~wxRichTextStyleDefinition() {}
|
virtual ~wxRichTextStyleDefinition() {}
|
||||||
|
|
||||||
@@ -135,7 +141,11 @@ class WXDLLIMPEXP_RICHTEXT wxRichTextStyleSheet: public wxObject
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
/// Constructors
|
/// Constructors
|
||||||
wxRichTextStyleSheet(const wxRichTextStyleSheet& sheet) { Copy(sheet); }
|
wxRichTextStyleSheet(const wxRichTextStyleSheet& sheet)
|
||||||
|
: wxObject()
|
||||||
|
{
|
||||||
|
Copy(sheet);
|
||||||
|
}
|
||||||
wxRichTextStyleSheet() { Init(); }
|
wxRichTextStyleSheet() { Init(); }
|
||||||
virtual ~wxRichTextStyleSheet() { DeleteStyles(); }
|
virtual ~wxRichTextStyleSheet() { DeleteStyles(); }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user