diff --git a/docs/changes.txt b/docs/changes.txt index 9eecd92f15..df2d70e9e9 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -588,6 +588,7 @@ All (GUI): wxGenericFileDialog which was accidentally lost some time ago (Carl Godkin). - Fix handling of fast consecutive clicks in wxRibbonBar (atobi). - Fix updating nested window scrollbars in some cases (sbrowne). +- Fix wxPGChoices copy ctor (Snoits). wxGTK: diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index 36356ddd63..a23d1ddf12 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -847,6 +847,10 @@ public: m_data = a.m_data; m_data->IncRef(); } + else + { + Init(); + } } /**