Commit Graph

14 Commits

Author SHA1 Message Date
Vadim Zeitlin
a7507230d1 corrected inverted test in IsEmpty() (patch 1936052)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:25:41 +00:00
Vadim Zeitlin
2f74c9c6b5 use less expensive GetLastPosition() instead of GetValue() to implement IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:05:28 +00:00
Vadim Zeitlin
e072113323 don't call GetLastPosition() unnecessarily in SelectAll(), all platforms should support SetSelection(-1, -1) according to the docs (but wxGTK didn't, so fix it to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:04:09 +00:00
Vadim Zeitlin
5a25f8581a refactored code reused in several different places in wxTextEntry::RemoveSelection() (patch 1910166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:58:54 +00:00
Stefan Neis
72cb72bf82 Use new wxTextEntry implementation on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 22:55:54 +00:00
Vadim Zeitlin
978c6e4113 implemented wxTextEntry for wxMotif, made wxComboBox derive from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 23:13:09 +00:00
Vadim Zeitlin
b4782e576d forward declare wxArrayString (compilation fix for non-PCH build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 13:27:58 +00:00
Vadim Zeitlin
59396417d3 added wxTextEntry::AutoCompleteFileNames() and implemented it for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 23:08:26 +00:00
Vadim Zeitlin
ecaed0bcda added wxTextEntry::AutoComplete() and implemented it for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 22:39:54 +00:00
Vadim Zeitlin
3b49331b74 fix warnings in EventsSuppressor ctor from gcc with -O option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 13:27:38 +00:00
Chris Elliott
558820fd08 another DMC build fix (http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 12:27:54 +00:00
Vadim Zeitlin
2978a784f5 compilation fix for wxUniv: don't use the native wxTextEntry class in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 15:45:28 +00:00
Vadim Zeitlin
fa2f57be4d refactor wxMSW code to extract parts common to wxTextCtrl and wxComboBox into wxTextEntry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 16:48:46 +00:00
Vadim Zeitlin
0ec1179b86 added wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor wxGTK code to put common parts of these classes in the base class; fixed some inconsistencies in the text control behaviour between platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:30:22 +00:00