Get rid of unused variables
This commit is contained in:
@@ -1500,12 +1500,6 @@ protected:
|
||||
// Current non-client width (needed when auto-centering).
|
||||
int m_ncWidth;
|
||||
|
||||
// Non-client width (auto-centering helper).
|
||||
//int m_fWidth;
|
||||
|
||||
// Previously recorded scroll start position.
|
||||
int m_prevVY;
|
||||
|
||||
// The gutter spacing in front and back of the image.
|
||||
// This determines the amount of spacing in front of each item
|
||||
int m_gutterWidth;
|
||||
@@ -1613,9 +1607,6 @@ protected:
|
||||
bool m_editorFocused;
|
||||
#endif
|
||||
|
||||
// 1 if m_latsCaption is also the bottommost caption.
|
||||
//unsigned char m_lastCaptionBottomnest;
|
||||
|
||||
unsigned char m_vspacing;
|
||||
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
|
@@ -661,9 +661,6 @@ protected:
|
||||
unsigned int m_virtualHeight;
|
||||
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
// 1 if m_lastCaption is also the bottommost caption.
|
||||
unsigned char m_lastCaptionBottomnest;
|
||||
|
||||
// 1 items appended/inserted, so stuff needs to be done before drawing;
|
||||
// If m_virtualHeight == 0, then calcylatey's must be done.
|
||||
// Otherwise just sort.
|
||||
@@ -674,9 +671,6 @@ protected:
|
||||
|
||||
unsigned char m_vhCalcPending;
|
||||
#else
|
||||
// True if m_lastCaption is also the bottommost caption.
|
||||
bool m_lastCaptionBottomnest;
|
||||
|
||||
// True: items appended/inserted, so stuff needs to be done before drawing;
|
||||
// If m_virtualHeight == 0, then calcylatey's must be done.
|
||||
// Otherwise just sort.
|
||||
|
@@ -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