Removed Vadim's surplus code in clipboard.
wxTreeCtrl now creates its two font in the constructor. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -547,6 +547,11 @@ void MyPanel::DoPasteFromClipboard()
|
||||
|
||||
void MyPanel::DoCopyToClipboard()
|
||||
{
|
||||
// On X11, we want to get the data from the primary selection instead
|
||||
// of the normal clipboard (which isn't normal under X11 at all). This
|
||||
// call has no effect under MSW.
|
||||
wxTheClipboard->UsePrimarySelection();
|
||||
|
||||
wxString text( m_multitext->GetLineText(0) );
|
||||
|
||||
if (text.IsEmpty())
|
||||
|
Reference in New Issue
Block a user