void wxClipboard::GTKClearData(Kind kind)
{
- wxDataObject *&data = Data();
+ wxDataObject *&data = Data(kind);
if ( data )
{
delete data;
{
gtk_selection_add_target
(
- GTK_WIDGET(m_clipboardWidget),
+ m_clipboardWidget,
GTKGetClipboardAtom(),
atom,
0 // info (same as client data) unused