mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 14:07:01 -04:00
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:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user