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:
@@ -890,9 +890,9 @@ public:
|
|||||||
wxGridCellRenderer* GetCellRenderer(int row, int col);
|
wxGridCellRenderer* GetCellRenderer(int row, int col);
|
||||||
|
|
||||||
// takes ownership of the pointer
|
// takes ownership of the pointer
|
||||||
// void SetDefaultEditor(wxGridCellEditor *editor);
|
void SetDefaultEditor(wxGridCellEditor *editor);
|
||||||
void SetCellEditor(int row, int col, wxGridCellEditor *editor);
|
void SetCellEditor(int row, int col, wxGridCellEditor *editor);
|
||||||
// wxGridCellEditor *GetDefaultEditor() const;
|
wxGridCellEditor *GetDefaultEditor() const;
|
||||||
wxGridCellEditor* GetCellEditor(int row, int col);
|
wxGridCellEditor* GetCellEditor(int row, int col);
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5866,15 +5866,15 @@ void wxGrid::SetDefaultCellFont( const wxFont& font )
|
|||||||
m_defaultCellAttr->SetFont(font);
|
m_defaultCellAttr->SetFont(font);
|
||||||
}
|
}
|
||||||
|
|
||||||
// void wxGrid::SetDefaultRenderer(wxGridCellRenderer *renderer)
|
void wxGrid::SetDefaultRenderer(wxGridCellRenderer *renderer)
|
||||||
// {
|
{
|
||||||
// m_defaultCellAttr->SetRenderer(renderer);
|
m_defaultCellAttr->SetRenderer(renderer);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// void wxGrid::SetDefaultEditor(wxGridCellEditor *editor)
|
void wxGrid::SetDefaultEditor(wxGridCellEditor *editor)
|
||||||
// {
|
{
|
||||||
// m_defaultCellAttr->SetEditor(editor);
|
m_defaultCellAttr->SetEditor(editor);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// access to the default attrbiutes
|
// access to the default attrbiutes
|
||||||
@@ -5900,15 +5900,15 @@ void wxGrid::GetDefaultCellAlignment( int *horiz, int *vert )
|
|||||||
m_defaultCellAttr->GetAlignment(horiz, vert);
|
m_defaultCellAttr->GetAlignment(horiz, vert);
|
||||||
}
|
}
|
||||||
|
|
||||||
// wxGridCellRenderer *wxGrid::GetDefaultRenderer() const
|
wxGridCellRenderer *wxGrid::GetDefaultRenderer() const
|
||||||
// {
|
{
|
||||||
// return m_defaultCellAttr->GetRenderer();
|
return m_defaultCellAttr->GetRenderer(NULL);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// wxGridCellEditor *wxGrid::GetDefaultEditor() const
|
wxGridCellEditor *wxGrid::GetDefaultEditor() const
|
||||||
// {
|
{
|
||||||
// return m_defaultCellAttr->GetEditor();
|
return m_defaultCellAttr->GetEditor(NULL);
|
||||||
// }
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// access to cell attributes
|
// access to cell attributes
|
||||||
|
Reference in New Issue
Block a user