From ed8f96ec50e39e25b7358488718441188455c2e5 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sun, 24 Dec 2006 13:35:52 +0000 Subject: [PATCH] forgot initialization, fixed git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@162 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/control/gallery_list.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/control/gallery_list.cpp b/src/gui/control/gallery_list.cpp index 9a7ced0d..4d85173e 100644 --- a/src/gui/control/gallery_list.cpp +++ b/src/gui/control/gallery_list.cpp @@ -23,6 +23,7 @@ const int BORDER = 1; // margin between items GalleryList::GalleryList(Window* parent, int id, int direction) : wxScrolledWindow(parent, id, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER | (direction == wxHORIZONTAL ? wxHSCROLL : wxVSCROLL) ) , direction(direction) + , selection(NO_SELECTION) {} void GalleryList::update() {