]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/table.cpp
Loader improvements
[libs/gltk.git] / source / table.cpp
index c0c823822c425e70fb709d721f53853965dce884..f3016723e3566078a8ca204d1b5d60d4e0d765ed 100644 (file)
@@ -122,22 +122,22 @@ Table::Loader::Loader(Table &t):
 
 void Table::Loader::cell_text(unsigned r, unsigned c, const string &t)
 {
-       static_cast<Table &>(wdg).set_cell_text(r, c, t);
+       static_cast<Table &>(obj).set_cell_text(r, c, t);
 }
 
 void Table::Loader::column_width(unsigned c, unsigned w)
 {
-       static_cast<Table &>(wdg).set_column_width(c, w);
+       static_cast<Table &>(obj).set_column_width(c, w);
 }
 
 void Table::Loader::columns(unsigned c)
 {
-       static_cast<Table &>(wdg).set_columns(c);
+       static_cast<Table &>(obj).set_columns(c);
 }
 
 void Table::Loader::rows(unsigned r)
 {
-       static_cast<Table &>(wdg).set_rows(r);
+       static_cast<Table &>(obj).set_rows(r);
 }
 
 } // namespace GLtk