]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/joystick.cpp
Compilation fix for PCH-less build after r70122.
[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)
     jwx_event.SetEventObject(m_catchwin);
 
     if (m_catchwin)
-        m_catchwin->AddPendingEvent(jwx_event);
+        m_catchwin->GetEventHandler()->AddPendingEvent(jwx_event);
 }
 
 void* wxJoystickThread::Entry()
 }
 
 void* wxJoystickThread::Entry()