forgot initialization, fixed

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@162 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-24 13:35:52 +00:00
parent 77c6acf90f
commit ed8f96ec50
+1
View File
@@ -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() {