git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35542
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
XmScaleCallbackStruct *cbs)
{
wxScrollBar *scrollBar = (wxScrollBar*)wxGetWindowFromTable(widget);
- wxOrientation orientation = (wxOrientation)(int)clientData;
+ wxOrientation orientation = (wxOrientation)wxPtrToUInt(clientData);
wxEventType eventType = wxEVT_NULL;
switch (cbs->reason)
XmScrollBarCallbackStruct *cbs)
{
wxWindow *win = wxGetWindowFromTable(scrollbar);
- wxOrientation orientation = (wxOrientation)(int)clientData;
+ wxOrientation orientation = (wxOrientation)wxPtrToUInt(clientData);
wxEventType eventType = wxEVT_NULL;
switch (cbs->reason)