if (style & wxNO_BORDER)
g_object_set (m_text, "has-frame", FALSE, NULL);
-
+
}
m_parent->DoAddChild( this );
{
if ( !(flags & SetValue_SendEvent) )
EnableTextChangedEvents(false);
-
+
gtk_text_buffer_set_text( m_buffer, "", 0 );
-
+
if ( !(flags & SetValue_SendEvent) )
EnableTextChangedEvents(true);
-
+
return;
}
-#ifdef wxUSE_UNICODE
+#if wxUSE_UNICODE
const wxCharBuffer buffer(value.utf8_str());
#else
wxFontEncoding enc = m_defaultStyle.HasFont()
return;
}
-#ifdef wxUSE_UNICODE
+#if wxUSE_UNICODE
const wxCharBuffer buffer(text.utf8_str());
#else
// check if we have a specific style for the current position