git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23254
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-bool wxEnumData::HasEnumMemberValue(const wxChar *name, int *value)
+bool wxEnumData::HasEnumMemberValue(const wxChar *name, int *value) const
{
int i;
for (i = 0; m_members[i].m_name ; i++ )
{
int i;
for (i = 0; m_members[i].m_name ; i++ )
-int wxEnumData::GetEnumMemberValue(const wxChar *name)
+int wxEnumData::GetEnumMemberValue(const wxChar *name) const
{
int i;
for (i = 0; m_members[i].m_name ; i++ )
{
int i;
for (i = 0; m_members[i].m_name ; i++ )
-const wxChar *wxEnumData::GetEnumMemberName(int value)
+const wxChar *wxEnumData::GetEnumMemberName(int value) const
{
int i;
for (i = 0; m_members[i].m_name ; i++)
{
int i;
for (i = 0; m_members[i].m_name ; i++)
-int wxEnumData::GetEnumMemberValueByIndex( int idx )
+int wxEnumData::GetEnumMemberValueByIndex( int idx ) const
{
// we should cache the count in order to avoid out-of-bounds errors
return m_members[idx].m_value ;
}
{
// we should cache the count in order to avoid out-of-bounds errors
return m_members[idx].m_value ;
}
-const wxChar * wxEnumData::GetEnumMemberNameByIndex( int idx )
+const wxChar * wxEnumData::GetEnumMemberNameByIndex( int idx ) const
{
// we should cache the count in order to avoid out-of-bounds errors
return m_members[idx].m_name ;
{
// we should cache the count in order to avoid out-of-bounds errors
return m_members[idx].m_name ;
{
int intdata ;
wxSscanf(s, _T("%d"), &intdata ) ;
{
int intdata ;
wxSscanf(s, _T("%d"), &intdata ) ;
}
template<> void wxStringWriteValue(wxString &s , const bool &data )
}
template<> void wxStringWriteValue(wxString &s , const bool &data )