From: Vadim Zeitlin Date: Sat, 9 Feb 2008 15:41:28 +0000 (+0000) Subject: remove extraneous IncRef() from wxRichTextFontTable ctor (replaces patch 1884594) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b8e58b85d922b711726eaa3f897fb18812145be5 remove extraneous IncRef() from wxRichTextFontTable ctor (replaces patch 1884594) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index 1936bb107a..64633cab6f 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -7209,7 +7209,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxRichTextFontTable, wxObject) wxRichTextFontTable::wxRichTextFontTable() { m_refData = new wxRichTextFontTableData; - m_refData->IncRef(); } wxRichTextFontTable::wxRichTextFontTable(const wxRichTextFontTable& table)