summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2b62ab3)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2741
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxCHECK_MSG( !m_open, FALSE, _T("clipboard already open") );
m_open = TRUE;
wxCHECK_MSG( !m_open, FALSE, _T("clipboard already open") );
m_open = TRUE;
+ UsePrimarySelection(FALSE);
+
m_waiting = TRUE;
gtk_selection_convert( m_targetsWidget,
m_waiting = TRUE;
gtk_selection_convert( m_targetsWidget,
+ m_usePrimary?GDK_SELECTION_PRIMARY:g_clipboardAtom,
g_targetsAtom,
GDK_CURRENT_TIME );
g_targetsAtom,
GDK_CURRENT_TIME );
m_waiting = TRUE;
gtk_selection_convert( m_clipboardWidget,
m_waiting = TRUE;
gtk_selection_convert( m_clipboardWidget,
+ m_usePrimary?GDK_SELECTION_PRIMARY:g_clipboardAtom,
m_targetRequested,
GDK_CURRENT_TIME );
m_targetRequested,
GDK_CURRENT_TIME );
wxCHECK_MSG( !m_open, FALSE, _T("clipboard already open") );
m_open = TRUE;
wxCHECK_MSG( !m_open, FALSE, _T("clipboard already open") );
m_open = TRUE;
+ UsePrimarySelection(FALSE);
+
m_waiting = TRUE;
gtk_selection_convert( m_targetsWidget,
m_waiting = TRUE;
gtk_selection_convert( m_targetsWidget,
+ m_usePrimary?GDK_SELECTION_PRIMARY:g_clipboardAtom,
g_targetsAtom,
GDK_CURRENT_TIME );
g_targetsAtom,
GDK_CURRENT_TIME );
m_waiting = TRUE;
gtk_selection_convert( m_clipboardWidget,
m_waiting = TRUE;
gtk_selection_convert( m_clipboardWidget,
+ m_usePrimary?GDK_SELECTION_PRIMARY:g_clipboardAtom,
m_targetRequested,
GDK_CURRENT_TIME );
m_targetRequested,
GDK_CURRENT_TIME );