This commit is contained in:
simon.kagstrom 2009-11-15 15:39:17 +00:00
parent 2cb604b095
commit b0ca5f88bd

View File

@ -53,7 +53,7 @@ private:
}; };
class List : public gcn::Widget class List : public gcn::ListBox
{ {
public: public:
class PrivListModel : public gcn::ListModel class PrivListModel : public gcn::ListModel
@ -77,8 +77,12 @@ public:
int n_msgs; int n_msgs;
}; };
List(const char **msgs, int n_msgs) { List(const char **msgs, int n_msgs)
{
this->model = new PrivListModel(msgs, n_msgs);
} }
private:
PrivListModel *model;
}; };
/* /*