Remove all unwanted occurrences of -mt/-pthread in configure.

Remove all inappropriate compiler options and not just the first one as they
can occur multiple times because they may come from pkg-config output for
several different libraries.

Closes #13647.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-11-10 00:30:04 +00:00
parent 85fb0a0afd
commit 4fb1e79b4d
3 changed files with 19 additions and 17 deletions

View File

@@ -2570,11 +2570,13 @@ void wxDataViewProgressRenderer::GTKSetLabel()
// Take care to not use GetOwner() here if the label is empty, we can be
// called from ctor when GetOwner() is still NULL in this case.
g_value_set_string( &gvalue,
m_label.empty() ? ""
: wxGTK_CONV_FONT(m_label,
GetOwner()->GetOwner()->GetFont())
);
wxScopedCharBuffer buf;
if ( m_label.empty() )
buf = wxScopedCharBuffer::CreateNonOwned("");
else
buf = wxGTK_CONV_FONT(m_label, GetOwner()->GetOwner()->GetFont());
g_value_set_string( &gvalue, buf);
g_object_set_property( G_OBJECT(m_renderer), "text", &gvalue );
g_value_unset( &gvalue );