Implement wxClipboard::Flush() in wxGTK
Update the documentation and also add a call of Flush() to the sample. Closes #10515. Closes https://github.com/wxWidgets/wxWidgets/pull/1316
This commit is contained in:
committed by
Vadim Zeitlin
parent
02adddfa1a
commit
28a84486bd
@@ -593,6 +593,12 @@ void wxClipboard::Clear()
|
||||
m_formatSupported = false;
|
||||
}
|
||||
|
||||
bool wxClipboard::Flush()
|
||||
{
|
||||
gtk_clipboard_store( gtk_clipboard_get( GTKGetClipboardAtom() ) );
|
||||
return true;
|
||||
}
|
||||
|
||||
bool wxClipboard::Open()
|
||||
{
|
||||
wxCHECK_MSG( !m_open, false, wxT("clipboard already open") );
|
||||
|
Reference in New Issue
Block a user