Added wxFileName::GetModificationTime()

for Unix.
  Don't send events when constructing a text ctrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-04-09 17:16:09 +00:00
parent 068cfb66c2
commit ce16e5d78f
4 changed files with 48 additions and 8 deletions

View File

@@ -327,10 +327,6 @@ bool wxTextCtrl::Create( wxWindow *parent,
if (multi_line)
gtk_widget_show(m_text);
/* we want to be notified about text changes */
gtk_signal_connect( GTK_OBJECT(m_text), "changed",
GTK_SIGNAL_FUNC(gtk_text_changed_callback), (gpointer)this);
if (multi_line)
{
gtk_signal_connect(GTK_OBJECT(GTK_TEXT(m_text)->vadj), "changed",
@@ -393,6 +389,10 @@ bool wxTextCtrl::Create( wxWindow *parent,
gtk_text_set_editable( GTK_TEXT(m_text), 1 );
}
/* we want to be notified about text changes */
gtk_signal_connect( GTK_OBJECT(m_text), "changed",
GTK_SIGNAL_FUNC(gtk_text_changed_callback), (gpointer)this);
SetBackgroundColour( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW) );
SetForegroundColour( parent->GetForegroundColour() );