]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/grid.cpp
Refactor Dialog to separate the autodeletion functionality
[libs/gltk.git] / source / grid.cpp
index 3b44ac857e0058e9e6d34de38ffd158aced3e17e..eb32cc91d8c4ec2f0c757d36b8f2ceb8f7d3cdea 100644 (file)
@@ -3,11 +3,9 @@
 namespace Msp {
 namespace GLtk {
 
-Grid::Grid(Layout &l, unsigned c):
+Grid::Grid(Layout &l, size_t c):
        Arrangement(l),
-       columns(c),
-       first_row(true),
-       column(0)
+       columns(c)
 { }
 
 void Grid::skip()