diff --git a/include/wx/propgrid/property.h b/include/wx/propgrid/property.h index a23d1ddf12..bc61848413 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