diff --git a/panda/src/pgui/pgMouseWatcherBackground.cxx b/panda/src/pgui/pgMouseWatcherBackground.cxx index 3c44ffeb0c..ce4aa5e99f 100644 --- a/panda/src/pgui/pgMouseWatcherBackground.cxx +++ b/panda/src/pgui/pgMouseWatcherBackground.cxx @@ -18,6 +18,7 @@ #include "pgMouseWatcherBackground.h" #include "pgItem.h" +#include "qppgItem.h" TypeHandle PGMouseWatcherBackground::_type_handle; @@ -53,6 +54,7 @@ PGMouseWatcherBackground:: void PGMouseWatcherBackground:: press(const MouseWatcherParameter ¶m) { PGItem::background_press(param); + qpPGItem::background_press(param); } //////////////////////////////////////////////////////////////////// @@ -65,6 +67,7 @@ press(const MouseWatcherParameter ¶m) { void PGMouseWatcherBackground:: release(const MouseWatcherParameter ¶m) { PGItem::background_release(param); + qpPGItem::background_release(param); } //////////////////////////////////////////////////////////////////// @@ -76,4 +79,5 @@ release(const MouseWatcherParameter ¶m) { void PGMouseWatcherBackground:: keystroke(const MouseWatcherParameter ¶m) { PGItem::background_keystroke(param); + qpPGItem::background_keystroke(param); }