make array data fully const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -257,10 +257,10 @@ protected:
|
||||
|
||||
// Special constructors to be used by derived classes.
|
||||
wxSystemColourProperty( const wxString& label, const wxString& name,
|
||||
const wxChar** labels, const long* values, wxPGChoices* choicesCache,
|
||||
const wxChar* const* labels, const long* values, wxPGChoices* choicesCache,
|
||||
const wxColourPropertyValue& value );
|
||||
wxSystemColourProperty( const wxString& label, const wxString& name,
|
||||
const wxChar** labels, const long* values, wxPGChoices* choicesCache,
|
||||
const wxChar* const* labels, const long* values, wxPGChoices* choicesCache,
|
||||
const wxColour& value );
|
||||
|
||||
void Init( int type, const wxColour& colour );
|
||||
|
@@ -818,7 +818,7 @@ public:
|
||||
@param values
|
||||
Values for choices. If NULL, indexes are used.
|
||||
*/
|
||||
wxPGChoices( const wxChar** labels, const long* values = NULL )
|
||||
wxPGChoices( const wxChar* const* labels, const long* values = NULL )
|
||||
{
|
||||
Init();
|
||||
Set(labels,values);
|
||||
@@ -866,7 +866,7 @@ public:
|
||||
@param values
|
||||
Values for added choices. If empty, relevant entry indexes are used.
|
||||
*/
|
||||
void Add( const wxChar** labels, const ValArrItem* values = NULL );
|
||||
void Add( const wxChar* const* labels, const ValArrItem* values = NULL );
|
||||
|
||||
/** Version that works with wxArrayString and wxArrayInt. */
|
||||
void Add( const wxArrayString& arr, const wxArrayInt& arrint = wxArrayInt() );
|
||||
@@ -994,7 +994,7 @@ public:
|
||||
|
||||
#ifndef SWIG
|
||||
/** Does not create copies for itself. */
|
||||
void Set( const wxChar** labels, const long* values = NULL )
|
||||
void Set( const wxChar* const* labels, const long* values = NULL )
|
||||
{
|
||||
Free();
|
||||
Add(labels,values);
|
||||
@@ -2067,7 +2067,7 @@ public:
|
||||
return m_validator;
|
||||
return DoGetValidator();
|
||||
}
|
||||
#endif // #if wxUSE_VALIDATORS
|
||||
#endif // wxUSE_VALIDATORS
|
||||
|
||||
#ifndef SWIG
|
||||
/** Returns client data (void*) of a property.
|
||||
|
@@ -370,7 +370,7 @@ public:
|
||||
#ifndef SWIG
|
||||
wxEnumProperty( const wxString& label = wxPG_LABEL,
|
||||
const wxString& name = wxPG_LABEL,
|
||||
const wxChar** labels = NULL,
|
||||
const wxChar* const* labels = NULL,
|
||||
const long* values = NULL,
|
||||
int value = 0 );
|
||||
wxEnumProperty( const wxString& label,
|
||||
@@ -381,7 +381,7 @@ public:
|
||||
// Special constructor for caching choices (used by derived class)
|
||||
wxEnumProperty( const wxString& label,
|
||||
const wxString& name,
|
||||
const wxChar** labels,
|
||||
const wxChar* const* labels,
|
||||
const long* values,
|
||||
wxPGChoices* choicesCache,
|
||||
int value = 0 );
|
||||
@@ -468,7 +468,7 @@ public:
|
||||
|
||||
wxEditEnumProperty( const wxString& label,
|
||||
const wxString& name,
|
||||
const wxChar** labels,
|
||||
const wxChar* const* labels,
|
||||
const long* values,
|
||||
const wxString& value );
|
||||
wxEditEnumProperty( const wxString& label = wxPG_LABEL,
|
||||
@@ -484,7 +484,7 @@ public:
|
||||
// Special constructor for caching choices (used by derived class)
|
||||
wxEditEnumProperty( const wxString& label,
|
||||
const wxString& name,
|
||||
const wxChar** labels,
|
||||
const wxChar* const* labels,
|
||||
const long* values,
|
||||
wxPGChoices* choicesCache,
|
||||
const wxString& value );
|
||||
@@ -514,7 +514,7 @@ public:
|
||||
#ifndef SWIG
|
||||
wxFlagsProperty( const wxString& label,
|
||||
const wxString& name,
|
||||
const wxChar** labels,
|
||||
const wxChar* const* labels,
|
||||
const long* values = NULL,
|
||||
long value = 0 );
|
||||
wxFlagsProperty( const wxString& label,
|
||||
|
Reference in New Issue
Block a user