diff --git a/panda/src/gui/Sources.pp b/panda/src/gui/Sources.pp index d157385eda..83cb478d02 100644 --- a/panda/src/gui/Sources.pp +++ b/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 diff --git a/panda/src/gui/guiItem.cxx b/panda/src/gui/guiItem.cxx index 24d2f601b5..5277eaedf5 100644 --- a/panda/src/gui/guiItem.cxx +++ b/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() { diff --git a/panda/src/gui/guiListBox.h b/panda/src/gui/guiListBox.h index 953276d1c6..ee0549f9ee 100644 --- a/panda/src/gui/guiListBox.h +++ b/panda/src/gui/guiListBox.h @@ -11,6 +11,9 @@ #include class EXPCL_PANDA GuiListBox : public GuiItem { +private: + INLINE GuiListBox(void); + virtual void recompute_frame(void); PUBLISHED: GuiListBox(const string&); ~GuiListBox(void);