Browse Source

Changing Windows-centric UINT's to regular int's

Chris Brunner 15 năm trước cách đây
mục cha
commit
ce00397d7c

+ 1 - 1
panda/src/display/graphicsWindow.cxx

@@ -984,7 +984,7 @@ bool GraphicsWindow::supports_window_procs() const{
 //               
 ////////////////////////////////////////////////////////////////////
 bool GraphicsWindow::
-is_touch_msg(UINT msg){
+is_touch_msg(int msg){
   return false;
 }
 

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

@@ -90,7 +90,7 @@ PUBLISHED:
   void add_custom_event_handler(PyObject* handler, PyObject* name);
   void remove_custom_event_handler(PyObject* name);
 
-  virtual bool is_touch_msg(UINT msg);
+  virtual bool is_touch_msg(int msg);
   virtual int get_num_touches();
   virtual TouchInfo get_touch_info(int index);