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
Václav Slavík
0598fd99db
fixed DLL building bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:18:08 +00:00
Václav Slavík
09a3edeb9f
added animate bakefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:17:11 +00:00
Václav Slavík
102174443d
fixed animate in Unicode mode and removed use of deprecated methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:12:02 +00:00
Václav Slavík
54007a983a
added animate contrib bakefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:09:57 +00:00
Václav Slavík
a4174c8674
added animate contrib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:08:08 +00:00
Václav Slavík
b87dd6f51e
much better looking selection of justified paragraphs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 18:44:34 +00:00
David Elliott
35c1cfdda1
wxBITMAP now uses XPM constructor for wxCocoa (like everything except wxMSW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:59:51 +00:00
David Elliott
92e8d01997
wxCocoa: allow wxUSE_NUMBERDLG
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:36:19 +00:00
David Elliott
a58a661464
Position the status bar properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 15:09:15 +00:00
Václav Slavík
67bbb91038
removed gcc warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 12:00:42 +00:00
Robert Roebling
2b904684fb
Added Theme patch.
...
Upported mouse click detection change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:26:04 +00:00
Robert Roebling
865864592a
Corrected wxTreeCtrl and wxListCtrl end_label_edit event behaviour.
...
wxListCtrl doesn't send this event when the editing was cancelled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:24:52 +00:00
Vadim Zeitlin
aaaa609fa3
backport wxListCtrl::Refresh() fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:20:42 +00:00
Vadim Zeitlin
2f1e3c464c
Refresh() didn't work as it wasn't passed to subwindows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:19:10 +00:00
Robert Roebling
3a97d2db67
Upported mouse click detection change for wxChoice.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:18:42 +00:00
Václav Slavík
7244675df4
helpbest is MSW-only and init.h was missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:58:58 +00:00
Václav Slavík
36b72b47ad
helpbest is MSW-only and init.h was missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 20:46:21 +00:00
David Elliott
c3b0c2c3dc
Use NSColor from wxColour and wxBrush
...
#if 0 the bounding box drawn around all text (which was for testing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 18:56:27 +00:00
David Elliott
f162a33801
First hack at wxBrush for wxCocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 18:53:00 +00:00
Julian Smart
0b30bb0bda
Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
...
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit
UI update frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 16:21:44 +00:00
Vadim Zeitlin
f65a450a11
document the functions sending page changing events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:59:15 +00:00
Vadim Zeitlin
d9f7c16d4d
compilation fix (extra semicolon)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:58:52 +00:00
Vadim Zeitlin
a400a8230f
warning (in Unicode only) fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:48:42 +00:00
Vadim Zeitlin
0acfb5bd66
added wxEntry(char **) declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:48:22 +00:00
Vadim Zeitlin
9b9d4651ae
mention that OnInit/Exit() should be used instead of wxApp/~wxApp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:14:19 +00:00
Václav Slavík
0d8dda3216
Unicode compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:56:16 +00:00
Václav Slavík
c1eb13891f
caret.cpp was missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:52:22 +00:00
Václav Slavík
56fae7b8f5
compilation fix for #ifdef __WXDEBUG__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:33:02 +00:00
Václav Slavík
41524ffcc6
applied modified UTF-8 locales patch (766893)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:28:44 +00:00
Václav Slavík
95318f7df2
configure didn't define __WXDEBUG__, fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:05:16 +00:00
Vadim Zeitlin
a03cac3f78
don't east 100% of CPU when showing popup menu (patch 762500)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:26:19 +00:00
Václav Slavík
ee5749a6c1
updated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:08:57 +00:00
Václav Slavík
0ca0570d33
regen XRC makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:01:27 +00:00
Václav Slavík
b7b7d2c79a
updated main makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:53:41 +00:00
Václav Slavík
6c974d0b05
don't link wxBase against GUI libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:53:01 +00:00
Václav Slavík
3560dc761f
added ability to build contrib samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:47:37 +00:00
Václav Slavík
4b53b01300
added xrcdemo bakefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:19:27 +00:00
Vadim Zeitlin
e8e4025d1b
check for wrong wxID_OK usage (patch 758388)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 22:00:28 +00:00
Vadim Zeitlin
b19d494be1
documented Fit() brokenness if sizers are not used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:54:08 +00:00
Václav Slavík
df3dc50b64
don't link wxBase against GUI libraries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:53:05 +00:00
Václav Slavík
52de10ef15
don't delete samples datafiles, it may be dangerous
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:51:34 +00:00
Vadim Zeitlin
fdd55287d8
forward ported patch to IsEditable()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:43:00 +00:00
Vadim Zeitlin
01c6f3724e
send more page change events (patch 750521); document this behaviour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:40:59 +00:00
Vadim Zeitlin
65bc172c97
implemented GetDefaultBorder() in wxControl, override it in some controls which don't want to have sunken style by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:35:32 +00:00
Vadim Zeitlin
b2644cc3cc
compilation fix (extra semicolon)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:33:35 +00:00
Vadim Zeitlin
aede4ebb26
added GetBorder(flags)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:17:30 +00:00
Vadim Zeitlin
36b721632e
wxNotebook::HitTest() for wxMSW added (patch 748469)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:13:00 +00:00
Vadim Zeitlin
e450aa692b
wxNotebook::HitTest() for wxMSW added (patch 748469)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:02:24 +00:00
Vadim Zeitlin
ae79d31557
applied a patch to prevent another IsDialogMessage() hang
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 19:43:14 +00:00