summaryrefslogtreecommitdiff
path: root/wx+/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/grid.h')
-rw-r--r--wx+/grid.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/wx+/grid.h b/wx+/grid.h
index 8523b698..5fef34e2 100644
--- a/wx+/grid.h
+++ b/wx+/grid.h
@@ -323,21 +323,21 @@ private:
ColLabelWin* colLabelWin_;
MainWin* mainWin_;
- ScrollBarStatus showScrollbarX;
- ScrollBarStatus showScrollbarY;
+ ScrollBarStatus showScrollbarX = SB_SHOW_AUTOMATIC;
+ ScrollBarStatus showScrollbarY = SB_SHOW_AUTOMATIC;
- int colLabelHeight;
- bool drawRowLabel;
+ int colLabelHeight = 0;
+ bool drawRowLabel = true;
std::shared_ptr<GridData> dataView_;
Selection selection;
- bool allowColumnMove;
- bool allowColumnResize;
+ bool allowColumnMove = true;
+ bool allowColumnResize = true;
std::vector<VisibleColumn> visibleCols; //individual widths, type and total column count
std::vector<ColumnAttribute> oldColAttributes; //visible + nonvisible columns; use for conversion in setColumnConfig()/getColumnConfig() *only*!
- size_t rowCountOld; //at the time of last Grid::Refresh()
+ size_t rowCountOld = 0; //at the time of last Grid::Refresh()
};
}
bgstack15