- void* blockWidget = IsMultiLine() ? (void*)m_buffer : (void*)m_text;
- g_signal_handlers_block_by_func(blockWidget,
- (gpointer)gtk_text_changed_callback, this);
+ if ( !(flags & SetValue_SendEvent) )
+ {
+ g_signal_handlers_block_by_func(GetTextObject(),
+ (gpointer)gtk_text_changed_callback, this);
+ }
+