Get rid of unused variables
This commit is contained in:
@@ -208,7 +208,6 @@ wxPropertyGridPageState::wxPropertyGridPageState()
|
||||
m_currentCategory = NULL;
|
||||
m_width = 0;
|
||||
m_virtualHeight = 0;
|
||||
m_lastCaptionBottomnest = true;
|
||||
m_itemsAdded = false;
|
||||
m_anyModified = false;
|
||||
m_vhCalcPending = false;
|
||||
@@ -313,7 +312,6 @@ void wxPropertyGridPageState::DoClear()
|
||||
m_dictName.clear();
|
||||
|
||||
m_currentCategory = NULL;
|
||||
m_lastCaptionBottomnest = true;
|
||||
m_itemsAdded = false;
|
||||
|
||||
m_virtualHeight = 0;
|
||||
@@ -1772,15 +1770,6 @@ wxPGProperty* wxPropertyGridPageState::DoInsert( wxPGProperty* parent, int index
|
||||
m_abcArray->DoAddChild( property, index, true );
|
||||
}
|
||||
|
||||
// category stuff
|
||||
if ( property->IsCategory() )
|
||||
{
|
||||
// This is a category caption item.
|
||||
|
||||
// Last caption is not the bottom one (this info required by append)
|
||||
m_lastCaptionBottomnest = false;
|
||||
}
|
||||
|
||||
// Only add name to hashmap if parent is root or category
|
||||
if ( !property->GetBaseName().empty() &&
|
||||
(parentIsCategory || parentIsRoot) )
|
||||
|
||||
Reference in New Issue
Block a user