From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Sun, 22 Mar 2009 21:42:40 +0000 (+0000) Subject: wxGTK1 compilation fixes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cb1b8d41cbb66604c87ddd727ae67f781caa96c2 wxGTK1 compilation fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk1/clipbrd.cpp b/src/gtk1/clipbrd.cpp index d17158dedd..320b335854 100644 --- a/src/gtk1/clipbrd.cpp +++ b/src/gtk1/clipbrd.cpp @@ -35,7 +35,7 @@ GdkAtom g_timestampAtom = 0; // the trace mask we use with wxLogTrace() - call // wxLog::AddTraceMask(TRACE_CLIPBOARD) to enable the trace messages from here // (there will be a *lot* of them!) -static const wxChar *TRACE_CLIPBOARD = _T("clipboard"); +#define TRACE_CLIPBOARD "clipboard" //----------------------------------------------------------------------------- // reminder diff --git a/src/gtk1/dnd.cpp b/src/gtk1/dnd.cpp index a1345d8e06..ade45b2cfc 100644 --- a/src/gtk1/dnd.cpp +++ b/src/gtk1/dnd.cpp @@ -489,7 +489,7 @@ wxDragResult wxDropTarget::OnData( wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), return GetData() ? def : wxDragNone; } -GdkAtom wxDropTarget::GetMatchingPair() +GdkAtom wxDropTarget::GetMatchingPair(bool quiet) { if (!m_dataObject) return (GdkAtom) 0;