]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/combox.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / combox.h
index eed93b0fef387b1fb6659369448ca4eac9880d39..391d09d5aa4ff253d7bfcc13fe28a435437b4342 100644 (file)
@@ -1,11 +1,13 @@
 // -*- C++ -*-
 /**
  * \file combox.h
- * Copyright 2002 the LyX Team
  * Copyright 1996 Alejandro Aguilar Sierra
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Alejandro Aguilar Sierra, asierra@servidor.unam.mx
+ * \author Alejandro Aguilar Sierra
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 /* A combination of two objects (a button and a browser) is encapsulated to
@@ -59,15 +61,9 @@ public:
        ~Combox();
 
        /** To add this object to a form. Note that there are two heights
-           for normal (button) and expanded (browser) mode each.
-           The optional tabfolder arguments are needed to overcome an
-           xforms bug when repositioning a combox in a tab folder.
-           tabfolder1_ is the folder holding the combox.
-           If using nested tabfolders, tabfolder2_ is the "base" folder
-           holding tabfolder1_.
-       */
-       void add(int x, int y, int w, int hmin, int hmax,
-                FL_OBJECT * tabfolder1_ = 0, FL_OBJECT * tabfolder2_ = 0);
+        *  for normal (button) and expanded (browser) mode each.
+        */
+       void add(int x, int y, int w, int hmin, int hmax);
 
        /// Add lines. Same as for fl_browser object
        void addline(string const &);
@@ -156,10 +152,6 @@ public:
        FL_OBJECT * label;
        ///
        FL_FORM* form;
-       ///
-       FL_OBJECT * tabfolder1;
-       ///
-       FL_OBJECT * tabfolder2;
 };