diff --git a/panda/src/gui/guiBehavior.h b/panda/src/gui/guiBehavior.h index d77c9af80a..86810b6f7e 100644 --- a/panda/src/gui/guiBehavior.h +++ b/panda/src/gui/guiBehavior.h @@ -40,7 +40,7 @@ public: } static void init_type(void) { GuiItem::init_type(); - register_type(_type_handle, "GuiItem", + register_type(_type_handle, "GuiBehavior", GuiItem::get_class_type()); } virtual TypeHandle get_type(void) const {