Mattia Barbon
555d0d7ef1
Correct wxArrayString::Add return value as per the documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-26 19:24:12 +00:00
Julian Smart
d44d0cbd73
Added C/wxString array constructors to wxArrayString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 14:18:56 +00:00
Vadim Zeitlin
60d8e88654
iterator methods fixes (patch 1164808)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:19:13 +00:00
Włodzimierz Skiba
eecb33b018
Old API deprecated. Use new and remove old usage where necessary.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
Mattia Barbon
3c7896fd3f
Change FIXME in TODO and clarify its meaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 17:40:43 +00:00
Włodzimierz Skiba
4629016dfb
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 17:30:19 +00:00
Mattia Barbon
14baddc9b8
Unhide function from superclass.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 21:24:02 +00:00
Mattia Barbon
4e75b65f7c
Added compatibility functions for wxUSE_STL = 1:
...
void wxArrayString::Sort(CompareFunction function)
void wxArrayString::Sort(bool reverseOrder).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:08:21 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Mattia Barbon
584ad2a32f
Added some missing STL-like wxArray/wxArrayString constructors.
...
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Mattia Barbon
2442ce1bf1
Moved wxArrayString::GetStringArray() out of
...
WXWIN_COMPATIBILITY_2_4 (at least until alternatives are available).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 16:59:31 +00:00
Julian Smart
eae4425db6
WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:25:44 +00:00
Vadim Zeitlin
3931863650
added missing wxCMPFUNC_CONVs (patch 820862)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 09:10:44 +00:00
Mattia Barbon
2da2f941bb
Fix wx[Sorted]ArrayString::Index when wxUSE_STL=1, because
...
it is different than wxArray::Index (second argument is for
case sensitivity, not search direction).
Use forward declaration for wx[Sorted]ArrayString, where
possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:01:14 +00:00
Mattia Barbon
f700f98cf5
Use correct types for comparison functions in wxArray,
...
wxSortedArray and wxSortedArrayString, when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:23:43 +00:00
Mattia Barbon
22a5055f1f
Multilib linking fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:22:22 +00:00
Mattia Barbon
116270c60a
Use correct export directive for multilib.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:10:50 +00:00
Mattia Barbon
375894195f
More MSVC fixes .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 22:24:26 +00:00
Mattia Barbon
df5168c427
Added --use-stl to cnfigure, wxUSE_STL to setup0.h
...
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
Made wxBase compile when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00