Change wxPGProperty::SetChoices() to accept 'const wxPGChoices&'

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2010-05-06 17:42:26 +00:00
parent d517b60699
commit 75ac0891d8
2 changed files with 2 additions and 2 deletions

View File

@@ -2141,7 +2141,7 @@ public:
@remarks This operation deselects the property and clears its
value.
*/
bool SetChoices( wxPGChoices& choices );
bool SetChoices( const wxPGChoices& choices );
/** Set max length of text in text editor.
*/

View File

@@ -1911,7 +1911,7 @@ void wxPGProperty::SetChoiceSelection( int newValue )
}
}
bool wxPGProperty::SetChoices( wxPGChoices& choices )
bool wxPGProperty::SetChoices( const wxPGChoices& choices )
{
// Property must be de-selected first (otherwise choices in
// the control would be de-synced with true choices)