warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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++)
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user