Browse Source

display: Fix export/import macro for MouseAndKeyboard

It was moved here from device, so we should not use
EXPCL_PANDA_DEVICE anymore.
Sam Edwards 7 năm trước cách đây
mục cha
commit
5d74411c37
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      panda/src/display/mouseAndKeyboard.h

+ 1 - 1
panda/src/display/mouseAndKeyboard.h

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