forgot to uncomment a few things

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2000-02-21 23:22:40 +00:00
parent f2d7623799
commit 0ba143c9a0
2 changed files with 18 additions and 18 deletions

View File

@ -890,9 +890,9 @@ public:
wxGridCellRenderer* GetCellRenderer(int row, int col);
// takes ownership of the pointer
// void SetDefaultEditor(wxGridCellEditor *editor);
void SetDefaultEditor(wxGridCellEditor *editor);
void SetCellEditor(int row, int col, wxGridCellEditor *editor);
// wxGridCellEditor *GetDefaultEditor() const;
wxGridCellEditor *GetDefaultEditor() const;
wxGridCellEditor* GetCellEditor(int row, int col);

View File

@ -5866,15 +5866,15 @@ void wxGrid::SetDefaultCellFont( const wxFont& font )
m_defaultCellAttr->SetFont(font);
}
// void wxGrid::SetDefaultRenderer(wxGridCellRenderer *renderer)
// {
// m_defaultCellAttr->SetRenderer(renderer);
// }
void wxGrid::SetDefaultRenderer(wxGridCellRenderer *renderer)
{
m_defaultCellAttr->SetRenderer(renderer);
}
// void wxGrid::SetDefaultEditor(wxGridCellEditor *editor)
// {
// m_defaultCellAttr->SetEditor(editor);
// }
void wxGrid::SetDefaultEditor(wxGridCellEditor *editor)
{
m_defaultCellAttr->SetEditor(editor);
}
// ----------------------------------------------------------------------------
// access to the default attrbiutes
@ -5900,15 +5900,15 @@ void wxGrid::GetDefaultCellAlignment( int *horiz, int *vert )
m_defaultCellAttr->GetAlignment(horiz, vert);
}
// wxGridCellRenderer *wxGrid::GetDefaultRenderer() const
// {
// return m_defaultCellAttr->GetRenderer();
// }
wxGridCellRenderer *wxGrid::GetDefaultRenderer() const
{
return m_defaultCellAttr->GetRenderer(NULL);
}
// wxGridCellEditor *wxGrid::GetDefaultEditor() const
// {
// return m_defaultCellAttr->GetEditor();
// }
wxGridCellEditor *wxGrid::GetDefaultEditor() const
{
return m_defaultCellAttr->GetEditor(NULL);
}
// ----------------------------------------------------------------------------
// access to cell attributes