git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44357
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
bool needsRefresh = false;
+#ifdef __WXMAC__
+ // OS X blocks on immediate redraws, so make this a refresh
+ needsRefresh = true;
+#endif
int dx = 0,
dy = 0;
int orient = event.GetOrientation();
wxScrollWinEvent newEvent;
newEvent.SetPosition(0);
- newEvent.SetOrientation(wxVERTICAL);
+ newEvent.SetOrientation( event.GetWheelAxis() == 0 ? wxVERTICAL : wxHORIZONTAL);
newEvent.SetEventObject(m_win);
if (event.IsPageScroll())