Added layout constraints call to wxNotebook

Renamed key_down events to match MSW equivalents
  Invened activated events to tree and list ctrl
  Added patches to text ctrl from georg


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-12-16 08:06:02 +00:00
parent 655822f3a7
commit 435fe83e74
15 changed files with 57 additions and 9 deletions

View File

@@ -303,7 +303,8 @@ bool wxTextCtrl::LoadFile( const wxString &file )
if (m_windowStyle & wxTE_MULTILINE)
{
gtk_editable_insert_text( GTK_EDITABLE(m_text), text, 0, &len );
gint pos = 0;
gtk_editable_insert_text( GTK_EDITABLE(m_text), text, len, &pos );
}
else
{
@@ -555,7 +556,7 @@ void wxTextCtrl::Replace( long from, long to, const wxString &value )
gtk_editable_delete_text( GTK_EDITABLE(m_text), (gint)from, (gint)to );
if (value.IsNull()) return;
gint pos = (gint)to;
gint pos = (gint)from;
gtk_editable_insert_text( GTK_EDITABLE(m_text), value, value.Length(), &pos );
}