From cdbcb184aef6d331d09f48f0ac82372c35905415 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sun, 1 Jun 2008 12:50:42 +0000 Subject: [PATCH] Default graph type should be bar git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@934 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/gui/control/graph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/control/graph.cpp b/src/gui/control/graph.cpp index d96cd1f2..aea94f6c 100644 --- a/src/gui/control/graph.cpp +++ b/src/gui/control/graph.cpp @@ -864,6 +864,7 @@ void GraphContainer::add(const GraphP& graph) { GraphControl::GraphControl(Window* parent, int id) : wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxWANTS_CHARS) + , layout(GRAPH_TYPE_BAR) {} void GraphControl::setLayout(GraphType type, bool force) {