Removed some irritating flags.
Implmented the remaining ones under GTK. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -595,13 +595,12 @@ bool wxDataViewDateCell::Activate( wxRect WXUNUSED(cell), wxDataViewListModel *m
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxDataViewColumn, wxDataViewColumnBase)
|
||||
|
||||
wxDataViewColumn::wxDataViewColumn( const wxString &title, wxDataViewCell *cell, size_t model_column,
|
||||
int fixed_width, wxDataViewColumnSizing sizing, int flags ) :
|
||||
wxDataViewColumnBase( title, cell, model_column, flags )
|
||||
int width, int flags ) :
|
||||
wxDataViewColumnBase( title, cell, model_column, width, flags )
|
||||
{
|
||||
m_sizing = sizing;
|
||||
|
||||
m_width = fixed_width;
|
||||
m_fixedWidth = fixed_width;
|
||||
m_width = width;
|
||||
if (m_width < 0)
|
||||
m_width = 80;
|
||||
}
|
||||
|
||||
wxDataViewColumn::~wxDataViewColumn()
|
||||
@@ -619,22 +618,6 @@ int wxDataViewColumn::GetWidth()
|
||||
return m_width;
|
||||
}
|
||||
|
||||
void wxDataViewColumn::SetFixedWidth( int width )
|
||||
{
|
||||
m_fixedWidth = width;
|
||||
|
||||
if (m_sizing == wxDATAVIEW_COL_WIDTH_FIXED)
|
||||
{
|
||||
m_width = width;
|
||||
// Set dirty
|
||||
}
|
||||
}
|
||||
|
||||
int wxDataViewColumn::GetFixedWidth()
|
||||
{
|
||||
return m_fixedWidth;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxDataViewHeaderWindow
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user