diff --git a/docs/changes.txt b/docs/changes.txt index 944fa2107e..41018d17fa 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -100,6 +100,7 @@ All (GUI): - Add wxOwnerDrawnComboBox::Is{List,Text}Empty() methods. - Fix creating/removing mode buttons in wxPG manager (Artur Wieczorek). - Harmonize wxMenuEvent handling between all major ports. +- Fix wxPGChoices copy ctor (Snoits). wxGTK: diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index 240a387feb..a5e1cbd816 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -858,6 +858,10 @@ public: m_data = a.m_data; m_data->IncRef(); } + else + { + Init(); + } } /**