]> git.saurik.com Git - wxWidgets.git/commitdiff
Init fix
authorJulian Smart <julian@anthemion.co.uk>
Thu, 7 Jun 2007 20:28:50 +0000 (20:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 7 Jun 2007 20:28:50 +0000 (20:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextstyles.h

index 8be842cc7493a4c3d31e91a8bdcf0c0d8aff6d9d..104e1a0bdb656119c38ea4c714ea18c51abe307d 100644 (file)
@@ -253,6 +253,7 @@ public:
     wxRichTextStyleSheet(const wxRichTextStyleSheet& sheet)
     : wxObject()
     {
     wxRichTextStyleSheet(const wxRichTextStyleSheet& sheet)
     : wxObject()
     {
+               Init();
         Copy(sheet);
     }
     wxRichTextStyleSheet() { Init(); }
         Copy(sheet);
     }
     wxRichTextStyleSheet() { Init(); }