Commit 77d616df authored by twanvl's avatar twanvl

forgot initialization, fixed

parent d30340bd
...@@ -23,6 +23,7 @@ const int BORDER = 1; // margin between items ...@@ -23,6 +23,7 @@ const int BORDER = 1; // margin between items
GalleryList::GalleryList(Window* parent, int id, int direction) GalleryList::GalleryList(Window* parent, int id, int direction)
: wxScrolledWindow(parent, id, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER | (direction == wxHORIZONTAL ? wxHSCROLL : wxVSCROLL) ) : wxScrolledWindow(parent, id, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER | (direction == wxHORIZONTAL ? wxHSCROLL : wxVSCROLL) )
, direction(direction) , direction(direction)
, selection(NO_SELECTION)
{} {}
void GalleryList::update() { void GalleryList::update() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment