diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index 948bc33677..81b0e60ce8 100644 --- a/include/wx/propgrid/property.h +++ b/include/wx/propgrid/property.h @@ -1050,10 +1050,7 @@ public: const wxArrayInt& values = wxArrayInt() ) { Free(); - if ( &values ) - Add(labels,values); - else - Add(labels); + Add(labels,values); } // Creates exclusive copy of current choices