corrected inverted test in IsEmpty() (patch 1936052)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4922c5f0dd
commit
a7507230d1
@ -45,7 +45,7 @@ public:
|
|||||||
|
|
||||||
virtual wxString GetValue() const = 0;
|
virtual wxString GetValue() const = 0;
|
||||||
virtual wxString GetRange(long from, long to) const;
|
virtual wxString GetRange(long from, long to) const;
|
||||||
bool IsEmpty() const { return GetLastPosition() > 0; }
|
bool IsEmpty() const { return GetLastPosition() <= 0; }
|
||||||
|
|
||||||
|
|
||||||
// editing operations
|
// editing operations
|
||||||
|
Loading…
Reference in New Issue
Block a user