]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/table.cpp
Store the Resources reference only in Root widget
[libs/gltk.git] / source / table.cpp
index 085a44237f979bbe9013534c9c160881d75b14eb..c0c823822c425e70fb709d721f53853965dce884 100644 (file)
@@ -16,15 +16,13 @@ using namespace std;
 namespace Msp {
 namespace GLtk {
 
-Table::Table(const Resources &r):
-       Widget(r),
+Table::Table():
        rows(1),
        columns(1),
        data(1),
        col_w(1)
 {
        focusable = false;
-       update_style();
 }
 
 void Table::set_rows(unsigned r)