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
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
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
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
Václav Slavík
e433504316
workaround a Watcom build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 15:35:32 +00:00
Václav Slavík
344ca5315d
define wxCHECK_W32API_VERSION for OpenWatcom and DigitalMars
...
compilers because both of them use w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 15:01:13 +00:00
Václav Slavík
ac776ec973
define wxCHECK_W32API_VERSION for OpenWatcom and DigitalMars
...
compilers because both of them use w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 14:50:26 +00:00
Václav Slavík
40a8832891
fixed compilation of multilib dll
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:08:53 +00:00
Václav Slavík
1fa9e5bc44
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 18:06:18 +00:00
Václav Slavík
c5c570b934
define __GNUWIN32__ if __MINGW32__ is defined, so that it doesn't have to be defined on command line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 17:04:02 +00:00
Václav Slavík
6acba9a719
fixes for moving wxHTML files into their own DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:04:05 +00:00
Václav Slavík
bb24c68f35
compilation fixes for multilib/DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 13:00:07 +00:00
Julian Smart
394285343b
Fixed ambiguity
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 13:45:49 +00:00
Julian Smart
b85b77ae2f
Removed BC++ hidden virtual function warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 11:44:24 +00:00
Vadim Zeitlin
3e3be693d0
got rid of wxBuffer (finally!!!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 02:09:44 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Mattia Barbon
b3dfbbc910
MinGW compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 20:02:59 +00:00
Vadim Zeitlin
70dc287a39
removed wxFunction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 12:19:10 +00:00
Vadim Zeitlin
05e2b077c6
more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Vadim Zeitlin
9482617091
extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Vadim Zeitlin
1d6a432423
fixed fatal crash in Create() after my last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 13:12:00 +00:00
Vadim Zeitlin
2739d4f052
moved GetOSVersion() to the base traits class; implement it in platform-specific files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 00:16:04 +00:00
Vadim Zeitlin
e2478fde62
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Vadim Zeitlin
da0766ab2a
GetIcon() returns wxIconLocation, not wxIcon, now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Mattia Barbon
3ec4107dfc
Add a missing structure definition, move all rich text missing
...
stuff to wx/msw/missing.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 20:09:14 +00:00
Vadim Zeitlin
376ccc457c
removed Win16 horrors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 17:38:55 +00:00
Vadim Zeitlin
aaf7ab431b
added wxIconLocation; minor fixes to wxIcon on some platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 13:39:40 +00:00
Julian Smart
e00a5d3ca1
Extended wxTextAttr and added wxTextCtrl::GetStyle stub
...
allow better rich text support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 16:25:31 +00:00
Julian Smart
25b1b442d6
Added corrected Show() to wxPopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-17 08:26:01 +00:00
Julian Smart
01ebf75203
Platform and compiler-specific checking for MSW and Mac now done
...
in wx/xxx/chkconf.h.
Removed some very obsolete settings, and MSW-specific settings
from Mac's setup0.h.
wxTimer now derives from wxEvtHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 12:31:45 +00:00
Julian Smart
b1f68ca345
Can now skip default manifest inclusion by defining wxUSE_NO_MANIFEST
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:44:18 +00:00
Vadim Zeitlin
b600ed1362
wxFileDialog cleanup, extracted common code to fldlgcmn.cpp (patch 754187)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:31:49 +00:00
Vadim Zeitlin
3080bf599a
added a few #ifdefs needed to build a smaller library (patch 751523)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 13:00:55 +00:00
Julian Smart
4f610b3443
Add back #endif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 11:11:34 +00:00
Julian Smart
dd74a7ad67
Removing vestiges of wxUSE_NEW_GRID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-11 10:03:57 +00:00
Julian Smart
44cf9b50ee
Added shaped sample copying
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-08 17:49:49 +00:00
Julian Smart
85b43fbf7a
Attempt to make wxWindows play better with XP themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 10:27:03 +00:00
Julian Smart
313901f3e5
Fix for bug [ 744199 ] wxBringWindowToTop, child window z-order
...
A child window should only have it's z-order raised, not
the parent window brought to the front.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 21:01:18 +00:00
Julian Smart
0d1cb8cb29
Applied patch [ 619386 ] uxtheme.dll support
...
with filename changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 15:18:36 +00:00
Julian Smart
5706de1cf4
Partially applied patch [ 531199 ] new EVT_MOVING and EVT_SIZING
...
Changed to reuse wxMoveEvent, wxSizeEvent
Only applied the Mac part as a TODO comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 14:37:28 +00:00
Julian Smart
5c5428f913
Applied patch [ 619539 ] patch to get small icon via geticon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:57:23 +00:00
Julian Smart
17816c2e70
Applied patch [ 743194 ] HitTest for wxNotebook
...
Yes, we do need implementations for other platforms,
but it's a start.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:26:09 +00:00
Julian Smart
2ce7af354a
Applied [ 745533 ] implemented wxNotebook::DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:13:03 +00:00
Vadim Zeitlin
eb382f3e5e
force wxUSE_IOSTREAMH to 0 with VC 7.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-27 22:04:50 +00:00
Chris Elliott
ba0d56c3c2
fix SF bug 742496
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-26 10:23:03 +00:00
Julian Smart
b39dbf34b8
Applied patch [ 736322 ] Remove TWINE support, merge it in Wine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 19:16:45 +00:00
Julian Smart
1fdf858b87
Applied patch [ 740012 ] GetKeyState returns 16-Bit value on WindowsNT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-21 18:43:03 +00:00
Vadim Zeitlin
5eae641dd6
fixed bug in WinStruct<> ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 23:25:14 +00:00
Vadim Zeitlin
bffa02ff6f
added WinStruct<>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 22:43:28 +00:00