+2000-08-03 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/frontends/xforms/FormCommand.[Ch] (d-tor): removed
+
+ * src/frontends/xforms/FormCitation.[Ch],
+ src/frontends/xforms/FormIndex.[Ch],
+ src/frontends/xforms/FormToc.[Ch],
+ src/frontends/xforms/FormUrl.[Ch] (d-tors): call free()
+
2000-08-03 Angus Leeming <a.leeming@ic.ac.uk>
* src/commandtags.h: renamed, created some flags for citation
* src/frontends/xforms/forms/form_index.fd: xforms implementation
of the Index dialog
- 2000-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
-
- * src/insets/insetref.C (Latex): rewrite so that there is now
2000-08-01 Dekel Tsur <dekel@math.tau.ac.il>
* src/mathed/math_write.C (MathDecorationInset::Write) Put \protect
{}
-FormCommand::~FormCommand()
-{
- free();
-}
-
-
void FormCommand::showInset( InsetCommand * const inset )
{
if( dialogIsOpen || inset == 0 ) return;
// we don't need to delete u and h here because
// hide() does that after disconnecting.
if( form() ) {
- if( form()->visible)
+ if( form()->visible )
hide();
fl_free_form(form());
}
public:
/// Constructor
FormCommand(LyXView *, Dialogs *, string const & );
- /// Destructor
- virtual ~FormCommand();
/**@name Real per-instance Callback Methods */
//@{
virtual void update() = 0;
/// Apply from dialog (modify or create inset)
virtual void apply() = 0;
+ /// Explicitly free the dialog.
+ void free();
/// delete derived class variables from hide()
virtual void clearStore() {}
/// Pointer to the actual instantiation of the xform's form
void show();
/// Hide the dialog.
void hide();
- /// Explicitly free the dialog.
- void free();
/**@name Private Data */