turn proof of concept from Juergen into fix for #214

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3598 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-02-27 15:19:21 +00:00
parent 6635cee7ce
commit 53c6d464f6
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetcommand.C (insetButtonRelease): ... and move it here.
* inseturl.h: remove insetButtonRelease from there...
2002-02-26 Juergen Vigna <jug@sad.it>
* inseturl.h: Added a insetButtonRelease call returning true as

View File

@ -217,3 +217,9 @@ int InsetCommand::docbook(Buffer const *, ostream &) const
{
return 0;
}
bool InsetCommand::insetButtonRelease(BufferView *, int, int, int)
{
return true;
}

View File

@ -121,6 +121,9 @@ public:
void setParams(InsetCommandParams const &);
///
SigC::Signal0<void> hideDialog;
///
bool insetButtonRelease(BufferView *, int x, int y, int button);
private:
///
InsetCommandParams p_;

View File

@ -53,9 +53,6 @@ public:
int linuxdoc(Buffer const *, std::ostream &) const;
///
int docbook(Buffer const *, std::ostream &) const;
///
bool insetButtonRelease(BufferView *, int x, int y, int button)
{ return true; }
};
#endif