X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e320a79f187558effb04d92020b470372bbe456..d5a07b9ec9bacd5b6ec5092b03450488c4b7d420:/src/os2/clipbrd.cpp diff --git a/src/os2/clipbrd.cpp b/src/os2/clipbrd.cpp index 3fe9ebfb72..56af0a420b 100644 --- a/src/os2/clipbrd.cpp +++ b/src/os2/clipbrd.cpp @@ -154,7 +154,7 @@ void wxClipboard::SetClipboardClient(wxClipboardClient *client, long time) got_selection = wxCloseClipboard(); } else got_selection = FALSE; - + got_selection = FALSE; // Assume another process takes over if (!got_selection) { @@ -225,7 +225,7 @@ char *wxClipboard::GetClipboardData(char *format, long *length, long time) return NULL; } else { if (wxOpenClipboard()) { - receivedString = (char *)wxGetClipboardData(FormatStringToID(format), + receivedString = (char *)wxGetClipboardData(FormatStringToID(format), length); wxCloseClipboard(); } else