initialize button_ member to sane state

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7571 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-19 08:30:32 +00:00
parent 8d28085833
commit 9190d81e76

View File

@ -22,17 +22,17 @@ using std::endl;
FuncRequest::FuncRequest()
: view_(0), action(LFUN_UNKNOWN_ACTION)
: view_(0), action(LFUN_UNKNOWN_ACTION), button_(mouse_button::none)
{}
FuncRequest::FuncRequest(kb_action act)
: view_(0), action(act)
: view_(0), action(act), button_(mouse_button::none)
{}
FuncRequest::FuncRequest(kb_action act, string const & arg)
: view_(0), action(act), argument(arg)
: view_(0), action(act), argument(arg), button_(mouse_button::none)
{}
@ -43,12 +43,12 @@ FuncRequest::FuncRequest
FuncRequest::FuncRequest(BufferView * view, kb_action act)
: view_(view), action(act)
: view_(view), action(act), button_(mouse_button::none)
{}
FuncRequest::FuncRequest(BufferView * view, kb_action act, string const & arg)
: view_(view), action(act), argument(arg)
: view_(view), action(act), argument(arg), button_(mouse_button::none)
{}