display: Fix export/import macro for MouseAndKeyboard

It was moved here from device, so we should not use
EXPCL_PANDA_DEVICE anymore.
This commit is contained in:
Sam Edwards 2018-12-28 20:23:38 -07:00
parent bc2450441d
commit 5d74411c37

View File

@ -38,7 +38,7 @@
* the system, you must attach an EventThrower to the MouseAndKeyboard object; * the system, you must attach an EventThrower to the MouseAndKeyboard object;
* otherwise, the events will be discarded. * otherwise, the events will be discarded.
*/ */
class EXPCL_PANDA_DEVICE MouseAndKeyboard : public DataNode { class EXPCL_PANDA_DISPLAY MouseAndKeyboard : public DataNode {
PUBLISHED: PUBLISHED:
explicit MouseAndKeyboard(GraphicsWindow *window, int device, const std::string &name); explicit MouseAndKeyboard(GraphicsWindow *window, int device, const std::string &name);
void set_source(GraphicsWindow *window, int device); void set_source(GraphicsWindow *window, int device);