aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
authorMax Horn2002-07-16 10:52:48 +0000
committerMax Horn2002-07-16 10:52:48 +0000
commita94f9de525219a17409181d408c06cb929314c3d (patch)
tree51251823928f4adadf6d2e23b4b5302beafefc39 /gui/widget.cpp
parent21f82f094626fbb2b93e193bfb1d7dc02595c803 (diff)
downloadscummvm-rg350-a94f9de525219a17409181d408c06cb929314c3d.tar.gz
scummvm-rg350-a94f9de525219a17409181d408c06cb929314c3d.tar.bz2
scummvm-rg350-a94f9de525219a17409181d408c06cb929314c3d.zip
patch by painelf that enables editing in the ListWidget (alas as usual with many mods to his patch by me :-)
svn-id: r4561
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 4b8219cc08..fa31e2f6d2 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -25,7 +25,8 @@
Widget::Widget (Dialog *boss, int x, int y, int w, int h)
- : _type(0), _boss(boss), _x(x), _y(y), _w(w), _h(h), _id(0), _flags(0)
+ : _type(0), _boss(boss), _x(x), _y(y), _w(w), _h(h),
+ _id(0), _flags(0), _hasFocus(false)
{
// Insert into the widget list of the boss
_next = _boss->_firstWidget;