• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/generic/

Lines Matching refs:typeName

375     wxGridDataTypeInfo(const wxString& typeName,
378 : m_typeName(typeName), m_renderer(renderer), m_editor(editor)
405 void RegisterDataType(const wxString& typeName,
410 int FindRegisteredDataType(const wxString& typeName);
412 // try to FindRegisteredDataType(), if this fails and typeName is one of
414 int FindDataType(const wxString& typeName);
419 int FindOrCloneDataType(const wxString& typeName);
3057 void wxGridTypeRegistry::RegisterDataType(const wxString& typeName,
3061 wxGridDataTypeInfo* info = new wxGridDataTypeInfo(typeName, renderer, editor);
3064 int loc = FindRegisteredDataType(typeName);
3076 int wxGridTypeRegistry::FindRegisteredDataType(const wxString& typeName)
3081 if ( typeName == m_typeinfo[i]->m_typeName )
3090 int wxGridTypeRegistry::FindDataType(const wxString& typeName)
3092 int index = FindRegisteredDataType(typeName);
3098 if ( typeName == wxGRID_VALUE_STRING )
3107 if ( typeName == wxGRID_VALUE_BOOL )
3116 if ( typeName == wxGRID_VALUE_NUMBER )
3122 else if ( typeName == wxGRID_VALUE_FLOAT )
3131 if ( typeName == wxGRID_VALUE_CHOICE )
3151 int wxGridTypeRegistry::FindOrCloneDataType(const wxString& typeName)
3153 int index = FindDataType(typeName);
3158 index = FindDataType(typeName.BeforeFirst(_T(':')));
3175 wxString params = typeName.AfterFirst(_T(':'));
3180 RegisterDataType(typeName, renderer, editor);
3385 const wxString& typeName )
3387 return typeName == wxGRID_VALUE_STRING;
3390 bool wxGridTableBase::CanSetValueAs( int row, int col, const wxString& typeName )
3392 return CanGetValueAs(row, col, typeName);
3426 const wxString& WXUNUSED(typeName) )
3432 const wxString& WXUNUSED(typeName),
10235 wxString typeName = wxGRID_VALUE_FLOAT;
10238 typeName << _T(':') << width << _T(',') << precision;
10241 SetColFormatCustom(col, typeName);
10244 void wxGrid::SetColFormatCustom(int col, const wxString& typeName)
10249 wxGridCellRenderer *renderer = GetDefaultRendererForType(typeName);
10442 void wxGrid::RegisterDataType(const wxString& typeName,
10446 m_typeRegistry->RegisterDataType(typeName, renderer, editor);
10452 wxString typeName = m_table->GetTypeName(row, col);
10453 return GetDefaultEditorForType(typeName);
10458 wxString typeName = m_table->GetTypeName(row, col);
10459 return GetDefaultRendererForType(typeName);
10462 wxGridCellEditor * wxGrid::GetDefaultEditorForType(const wxString& typeName) const
10464 int index = m_typeRegistry->FindOrCloneDataType(typeName);
10469 errStr.Printf(wxT("Unknown data type name [%s]"), typeName.c_str());
10478 wxGridCellRenderer * wxGrid::GetDefaultRendererForType(const wxString& typeName) const
10480 int index = m_typeRegistry->FindOrCloneDataType(typeName);
10485 errStr.Printf(wxT("Unknown data type name [%s]"), typeName.c_str());