From cb78397f149e1e94c624b450db62bc540203081f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 28 Feb 2002 18:06:37 +0000 Subject: [PATCH] warnings fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/clipbrd.cpp | 2 ++ src/x11/toplevel.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/x11/clipbrd.cpp b/src/x11/clipbrd.cpp index e315f5a4cc..bb143dcc1f 100644 --- a/src/x11/clipbrd.cpp +++ b/src/x11/clipbrd.cpp @@ -396,9 +396,11 @@ bool wxClipboard::AddData( wxDataObject *data ) wxDataFormat *array = new wxDataFormat[ m_data->GetFormatCount() ]; m_data->GetAllFormats( array ); +#if 0 /* primary selection or clipboard */ Atom clipboard = m_usePrimary ? (Atom) 1 // 1 = primary selection : g_clipboardAtom; +#endif // 0 for (size_t i = 0; i < m_data->GetFormatCount(); i++) diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp index d3a09042d0..d191faf6f1 100644 --- a/src/x11/toplevel.cpp +++ b/src/x11/toplevel.cpp @@ -606,9 +606,10 @@ void wxTopLevelWindowX11::DoSetSize(int x, int y, int width, int height, int siz // wxLogDebug( "Setting pos: %d, %d", x, y ); wxWindowX11::DoSetSize(x, y, width, height, sizeFlags); +#if 0 wxPoint pt = GetPosition(); // wxLogDebug( "After, pos: %d, %d", pt.x, pt.y ); -#if 0 + XSync(wxGlobalDisplay(), False); int w, h; GetSize(& w, & h); -- 2.45.2