clipboard handler must be extern C (Sun CC warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fc9b078cc5
commit
a13acfd803
@ -176,13 +176,16 @@ struct wxDataIdToDataObject
|
||||
WX_DEFINE_LIST(wxDataObjectList);
|
||||
WX_DEFINE_LIST(wxDataIdToDataObjectList);
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#if wxCHECK_LESSTIF()
|
||||
static void wxClipboardCallback( Widget widget, int* data_id,
|
||||
int* priv, int* reason );
|
||||
#else
|
||||
#else // Motif
|
||||
static void wxClipboardCallback( Widget widget, long* data_id,
|
||||
long* priv, int* reason );
|
||||
#endif
|
||||
#endif // Less/Motif
|
||||
}
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxClipboard,wxObject)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user