The former symbol is inconsistent with all the other wxUSE_XXX ones and hence confusing and kept only for compatibility reasons. Closes https://github.com/wxWidgets/wxWidgets/pull/827
54 lines
1.1 KiB
C++
54 lines
1.1 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/qt/dvrenderer.cpp
|
|
// Author: Peter Most
|
|
// Copyright: (c) Peter Most
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// For compilers that support precompilation, includes "wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#if wxUSE_DATAVIEWCTRL
|
|
|
|
#include "wx/dataview.h"
|
|
|
|
#ifndef wxHAS_GENERIC_DATAVIEWCTRL
|
|
|
|
wxDataViewRenderer::wxDataViewRenderer( const wxString &variantType,
|
|
wxDataViewCellMode mode,
|
|
int align)
|
|
: wxDataViewRendererBase( variantType, mode, align )
|
|
{
|
|
}
|
|
|
|
void wxDataViewRenderer::SetMode( wxDataViewCellMode mode )
|
|
{
|
|
}
|
|
|
|
wxDataViewCellMode wxDataViewRenderer::GetMode() const
|
|
{
|
|
return wxDataViewCellMode();
|
|
}
|
|
|
|
void wxDataViewRenderer::SetAlignment( int align )
|
|
{
|
|
}
|
|
|
|
int wxDataViewRenderer::GetAlignment() const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void wxDataViewRenderer::EnableEllipsize(wxEllipsizeMode mode)
|
|
{
|
|
}
|
|
|
|
wxEllipsizeMode wxDataViewRenderer::GetEllipsizeMode() const
|
|
{
|
|
return wxEllipsizeMode();
|
|
}
|
|
|
|
#endif // !wxHAS_GENERIC_DATAVIEWCTRL
|
|
|
|
#endif // wxUSE_DATAVIEWCTRL
|