]> git.saurik.com Git - wxWidgets.git/commitdiff
remove extraneous IncRef() from wxRichTextFontTable ctor (replaces patch 1884594)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Feb 2008 15:41:28 +0000 (15:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Feb 2008 15:41:28 +0000 (15:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextbuffer.cpp

index 1936bb107aea52bb9322e025f608554424cfeb31..64633cab6f0bf96f45dab6b660eeeced8d9c4a1b 100644 (file)
@@ -7209,7 +7209,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxRichTextFontTable, wxObject)
 wxRichTextFontTable::wxRichTextFontTable()
 {
     m_refData = new wxRichTextFontTableData;
-    m_refData->IncRef();
 }
 
 wxRichTextFontTable::wxRichTextFontTable(const wxRichTextFontTable& table)