git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14429
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxDataFormat *array = new wxDataFormat[ m_data->GetFormatCount() ];
m_data->GetAllFormats( array );
wxDataFormat *array = new wxDataFormat[ m_data->GetFormatCount() ];
m_data->GetAllFormats( array );
/* primary selection or clipboard */
Atom clipboard = m_usePrimary ? (Atom) 1 // 1 = primary selection
: g_clipboardAtom;
/* primary selection or clipboard */
Atom clipboard = m_usePrimary ? (Atom) 1 // 1 = primary selection
: g_clipboardAtom;
for (size_t i = 0; i < m_data->GetFormatCount(); i++)
for (size_t i = 0; i < m_data->GetFormatCount(); i++)
// wxLogDebug( "Setting pos: %d, %d", x, y );
wxWindowX11::DoSetSize(x, y, width, height, sizeFlags);
// wxLogDebug( "Setting pos: %d, %d", x, y );
wxWindowX11::DoSetSize(x, y, width, height, sizeFlags);
wxPoint pt = GetPosition();
// wxLogDebug( "After, pos: %d, %d", pt.x, pt.y );
wxPoint pt = GetPosition();
// wxLogDebug( "After, pos: %d, %d", pt.x, pt.y );
XSync(wxGlobalDisplay(), False);
int w, h;
GetSize(& w, & h);
XSync(wxGlobalDisplay(), False);
int w, h;
GetSize(& w, & h);