]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/joystick.cpp
Add default constructor to wxGraphicsGradientStop.
[wxWidgets.git] / src / unix / joystick.cpp
index b96c009826e6503e0a03e26a397f18836c405b66..f9f2ba9d41dd2cafc77c695d0da5ed79d4816c7f 100644 (file)
@@ -102,7 +102,7 @@ void wxJoystickThread::SendEvent(wxEventType type, long ts, int change)
     jwx_event.SetEventObject(m_catchwin);
 
     if (m_catchwin)
-        m_catchwin->AddPendingEvent(jwx_event);
+        m_catchwin->GetEventHandler()->AddPendingEvent(jwx_event);
 }
 
 void* wxJoystickThread::Entry()