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:
@@ -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.
|
||||
*/
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user