X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47be989f6bee132748c4051577251e72c0b0c045..b1b3ddd840a507f3ca85379bfa832f2b0c9105d6:/src/motif/clipbrd.cpp diff --git a/src/motif/clipbrd.cpp b/src/motif/clipbrd.cpp index 9c09d7ff2b..62379c7086 100644 --- a/src/motif/clipbrd.cpp +++ b/src/motif/clipbrd.cpp @@ -163,9 +163,13 @@ struct wxDataIdToDataObject WX_DEFINE_LIST(wxDataObjectList); WX_DEFINE_LIST(wxDataIdToDataObjectList); +#if wxCHECK_LESSTIF() +static void wxClipboardCallback( Widget widget, int* data_id, + int* priv, int* reason ); +#else static void wxClipboardCallback( Widget widget, long* data_id, long* priv, int* reason ); - +#endif IMPLEMENT_DYNAMIC_CLASS(wxClipboard,wxObject) @@ -217,8 +221,13 @@ bool wxClipboard::SetData( wxDataObject *data ) wxDECLARE_SCOPED_ARRAY( wxDataFormat, wxDataFormatScopedArray ); wxDEFINE_SCOPED_ARRAY( wxDataFormat, wxDataFormatScopedArray ); +#if wxCHECK_LESSTIF() +void wxClipboardCallback( Widget xwidget, int* data_id, + int* priv, int* reason ) +#else void wxClipboardCallback( Widget xwidget, long* data_id, long* priv, int* reason ) +#endif { Display* xdisplay = XtDisplay( xwidget ); Window xwindow = XtWindow( xwidget );