]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textentry.h
GetSocketManager() has no GUI-specific version under Darwin finally
[wxWidgets.git] / include / wx / textentry.h
index 93ae8fbf37f27a2a07d5dc6d636298e90d342560..28bffe991379838ccd2489f6acf0f55e1926d142 100644 (file)
@@ -45,7 +45,7 @@ public:
 
     virtual wxString GetValue() const = 0;
     virtual wxString GetRange(long from, long to) const;
-    bool IsEmpty() const { return GetLastPosition() > 0; }
+    bool IsEmpty() const { return GetLastPosition() <= 0; }
 
 
     // editing operations