projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
gtk
/
textctrl.cpp
diff --git
a/src/gtk/textctrl.cpp
b/src/gtk/textctrl.cpp
index 3ea51492c6005910a365ec999d5b05ffed99f727..25186c9d1e380a94651aac93448207d72ad99cda 100644
(file)
--- a/
src/gtk/textctrl.cpp
+++ b/
src/gtk/textctrl.cpp
@@
-149,7
+149,7
@@
static void wxGtkTextApplyTagsFromAttr(GtkWidget *text,
gtk_text_iter_get_line(start) );
gtk_text_iter_forward_line(¶_end);
gtk_text_iter_get_line(start) );
gtk_text_iter_forward_line(¶_end);
- wxGtkTextRemoveTagsWithPrefix(text_buffer, "WXALIGNMENT",
start,
end);
+ wxGtkTextRemoveTagsWithPrefix(text_buffer, "WXALIGNMENT",
¶_start, ¶_
end);
GtkJustification align;
switch (attr.GetAlignment())
GtkJustification align;
switch (attr.GetAlignment())
@@
-195,7
+195,7
@@
static void wxGtkTextApplyTagsFromAttr(GtkWidget *text,
gtk_text_iter_get_line(start) );
gtk_text_iter_forward_line(¶_end);
gtk_text_iter_get_line(start) );
gtk_text_iter_forward_line(¶_end);
- wxGtkTextRemoveTagsWithPrefix(text_buffer, "WXINDENT",
start,
end);
+ wxGtkTextRemoveTagsWithPrefix(text_buffer, "WXINDENT",
¶_start, ¶_
end);
// Convert indent from 1/10th of a mm into pixels
float factor =
// Convert indent from 1/10th of a mm into pixels
float factor =
@@
-239,7
+239,7
@@
static void wxGtkTextApplyTagsFromAttr(GtkWidget *text,
gtk_text_iter_get_line(start) );
gtk_text_iter_forward_line(¶_end);
gtk_text_iter_get_line(start) );
gtk_text_iter_forward_line(¶_end);
- wxGtkTextRemoveTagsWithPrefix(text_buffer, "WXTABS",
start,
end);
+ wxGtkTextRemoveTagsWithPrefix(text_buffer, "WXTABS",
¶_start, ¶_
end);
const wxArrayInt& tabs = attr.GetTabs();
const wxArrayInt& tabs = attr.GetTabs();
@@
-692,7
+692,7
@@
bool wxTextCtrl::Create( wxWindow *parent,
GTKSetWrapMode();
GTKSetWrapMode();
- G
tk
ScrolledWindowSetBorder(m_widget, style);
+ G
TK
ScrolledWindowSetBorder(m_widget, style);
gtk_widget_add_events( GTK_WIDGET(m_text), GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK );
gtk_widget_add_events( GTK_WIDGET(m_text), GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK );
@@
-1252,6
+1252,7
@@
bool wxTextCtrl::Enable( bool enable )
}
gtk_widget_set_sensitive( m_text, enable );
}
gtk_widget_set_sensitive( m_text, enable );
+ SetCursor(enable ? wxCursor(wxCURSOR_IBEAM) : wxCursor());
return true;
}
return true;
}