bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat)
{
+ // TODO
+ return FALSE;
+#if 0
// Only text is supported.
if (dataFormat != wxDF_TEXT)
return FALSE;
Window window = (Window) 0;
if (wxTheApp->GetTopWindow())
- window = XtWindow( (Widget) wxTheApp->GetTopWindow()->GetTopWidget() );
+ window = XtWindow( (Widget) wxTheApp->GetTopWindow()->GetTopWindow() );
int success = XmClipboardRetrieve((Display*) wxGetDisplay(),
window, "TEXT", (XtPointer) 0, 0, & numBytes, & privateId) ;
return FALSE;
else
return TRUE;
+#endif
}
bool wxSetClipboardData(wxDataFormat dataFormat, wxObject *obj, int WXUNUSED(width), int WXUNUSED(height))
{
+ // TODO
+ return FALSE;
+#if 0
if (dataFormat != wxDF_TEXT)
return FALSE;
;
return TRUE;
+#endif
}
wxObject *wxGetClipboardData(wxDataFormat dataFormat, long *len)
{
+ // TODO
+ return FALSE;
+#if 0
if (dataFormat != wxDF_TEXT)
return (wxObject*) NULL;
}
return NULL;
+#endif
}
wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat)