Cary Sandvig hace 25 años
padre
commit
f4b97336a8
Se han modificado 3 ficheros con 10 adiciones y 4 borrados
  1. 6 3
      panda/src/gui/Sources.pp
  2. 1 1
      panda/src/gui/guiItem.cxx
  3. 3 0
      panda/src/gui/guiListBox.h

+ 6 - 3
panda/src/gui/Sources.pp

@@ -16,7 +16,8 @@
     guiRollover.h guiRollover.I guiRollover.cxx \
     guiButton.h guiButton.I guiButton.cxx \
     guiFrame.h guiFrame.I guiFrame.cxx \
-    guiSign.h guiSign.I guiSign.cxx
+    guiSign.h guiSign.I guiSign.cxx \
+    guiListBox.h guiListBox.I guiListBox.cxx
 
   #define INSTALL_HEADERS \
     guiManager.h guiManager.I \
@@ -26,7 +27,8 @@
     guiRollover.h guiRollover.I \
     guiButton.h guiButton.I \
     guiFrame.h guiFrame.I \
-    guiSign.h guiSign.I
+    guiSign.h guiSign.I \
+    guiListBox.h guiListBox.I
 
   #define IGATESCAN \
     guiManager.h guiManager.I \
@@ -36,6 +38,7 @@
     guiRollover.h guiRollover.I \
     guiButton.h guiButton.I \
     guiFrame.h guiFrame.I \
-    guiSign.h guiSign.I
+    guiSign.h guiSign.I \
+    guiListBox.h guiListBox.I
 
 #end lib_target

+ 1 - 1
panda/src/gui/guiItem.cxx

@@ -21,7 +21,7 @@ GuiItem::GuiItem(const string& name) : Namable(name), _added_hooks(false),
 GuiItem::~GuiItem(void) {
   if (gui_cat->is_debug())
     gui_cat->debug() << "deleting item '" << this->get_name() << "'" << endl;
-  this->unmanage();
+  //  this->unmanage();
 }
 
 int GuiItem::freeze() {

+ 3 - 0
panda/src/gui/guiListBox.h

@@ -11,6 +11,9 @@
 #include <vector>
 
 class EXPCL_PANDA GuiListBox : public GuiItem {
+private:
+  INLINE GuiListBox(void);
+  virtual void recompute_frame(void);
 PUBLISHED:
   GuiListBox(const string&);
   ~GuiListBox(void);