Added Windows clipboard support

This commit is contained in:
Sam Lantinga 2010-07-08 05:43:34 -07:00
parent a007a28624
commit 3ff2d236cd
11 changed files with 235 additions and 28 deletions

View file

@ -30,6 +30,9 @@ SDL_SetClipboardText(const char *text)
{
SDL_VideoDevice *_this = SDL_GetVideoDevice();
if (!text) {
text = "";
}
if (_this->SetClipboardText) {
return _this->SetClipboardText(_this, text);
} else {