LyXView::LyXView(int id)
- : id_(id), work_area_(0),
+ : work_area_(0),
toolbars_(new Toolbars(*this)),
autosave_timeout_(new Timeout(5000)),
dialogs_(new Dialogs(*this)),
- controlcommand_(new ControlCommandBuffer(*this))
+ controlcommand_(new ControlCommandBuffer(*this)), id_(id)
{
// Start autosave timer
if (lyxrc.autosave) {
namespace frontend {
WorkArea::WorkArea(int id, LyXView & lyx_view)
- : id_(id), buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
- cursor_visible_(false), cursor_timeout_(400)
+ : buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
+ cursor_visible_(false), cursor_timeout_(400), id_(id)
{
// Start loading the pixmap as soon as possible
//if (lyxrc.show_banner) {