Get rid of unused variables

This commit is contained in:
Artur Wieczorek
2019-06-14 22:16:44 +02:00
parent c5cf25e9df
commit 6abf507923
4 changed files with 0 additions and 30 deletions

View File

@@ -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

View File

@@ -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) )