Get rid of unused variables
This commit is contained in:
@@ -400,8 +400,6 @@ void wxPropertyGrid::Init1()
|
||||
m_iconWidth = wxPG_ICON_WIDTH;
|
||||
#endif
|
||||
|
||||
m_prevVY = -1;
|
||||
|
||||
m_gutterWidth = wxPG_GUTTER_MIN;
|
||||
m_subgroup_extramargin = 10;
|
||||
|
||||
@@ -2658,8 +2656,6 @@ void wxPropertyGrid::Clear()
|
||||
|
||||
m_propHover = NULL;
|
||||
|
||||
m_prevVY = 0;
|
||||
|
||||
RecalculateVirtualSize();
|
||||
|
||||
// Need to clear some area at the end
|
||||
|
||||
@@ -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