summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3e89999)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24077
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+ wxString m_range10_20;
+
private:
// any class wishing to process wxWindows events must use this macro
DECLARE_EVENT_TABLE()
private:
// any class wishing to process wxWindows events must use this macro
DECLARE_EVENT_TABLE()
- m_textRange->SetValue(m_text->GetRange(10, 20));
+ wxString range = m_text->GetRange(10, 20);
+ if ( range != m_range10_20 )
+ {
+ m_range10_20 = range;
+ m_textRange->SetValue(range);
+ }