got_selection = wxCloseClipboard();
} else
got_selection = FALSE;
-
+
got_selection = FALSE; // Assume another process takes over
if (!got_selection) {
return NULL;
} else {
if (wxOpenClipboard()) {
- receivedString = (char *)wxGetClipboardData(FormatStringToID(format),
+ receivedString = (char *)wxGetClipboardData(FormatStringToID(format),
length);
wxCloseClipboard();
} else