Commit Graph

12884 Commits

Author SHA1 Message Date
Robin Dunn
b9fdb3970d Added wxMemoryBuffer which is essentiall just a growable buffer of bytes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 22:05:05 +00:00
Vadim Zeitlin
be5fced5dd compilation error fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 21:10:29 +00:00
Robert Roebling
77df2fbce6 Send size events from top level windows in idle time,
this significantly improves the opaque resizing look
   and feel and seems to speed up dialog show up time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 18:25:11 +00:00
Stefan Csomor
d1eebf4054 added correct fallback color settings for XP when used with a theme
having non-flat menu styles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 16:44:45 +00:00
Vadim Zeitlin
ae409cb80e update focus rectangle width when the columns are being added/removed on the fly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 15:41:41 +00:00
Robin Dunn
4a09bc4e34 Some fixes for wxURLDataObject when wxUSE_UNICODE==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 00:21:34 +00:00
Václav Slavík
cb9965c3cc fixes to refreshing code in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:20:55 +00:00
Václav Slavík
3390759eb3 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:20:44 +00:00
Václav Slavík
8f71aafa07 implemented system menu handling in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:20:24 +00:00
Václav Slavík
71cb2ca1e3 1. implemented system menu handling in wxUniv (win32 theme only)
2. fixes to interactive moving/resizing in wxUniv


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:19:55 +00:00
Václav Slavík
8014db4142 1. handle Alt-F4 in wxUniv, not wxMGL
2. safeguards to never warp pointer to out-of-screen location (MGL would crash)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:16:26 +00:00
Robert Roebling
120b822df1 Added dialog tabbing to wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 22:15:41 +00:00
Julian Smart
32f8e36335 Added GetWindow to make Blit compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 21:54:27 +00:00
Robert Roebling
b1633d20d6 Implemented DoBlit().
Some testing on exposure/configure compression.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 20:45:45 +00:00
Vadim Zeitlin
9e691f46b2 changes to make wxGTK compile with GTK+ 2.0: now it does but the minimal
sample crashes on startup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 19:24:30 +00:00
Vadim Zeitlin
7fccee998d added more build dirs to the ignore list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 15:08:50 +00:00
Julian Smart
d5cf34f4dc Added constructor for wxColourRefData, else CloneRefData did a binary
copy which caused an assert in AllocExclusive (Add to Custom Colours in
Colour Dialog)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:45:52 +00:00
Julian Smart
21689736a7 Trivially implemented DoDrawIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:29:21 +00:00
Julian Smart
4b2424bcad treectrl -> treetest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:23:49 +00:00
Julian Smart
ec312631c6 Finally reverted treectrl name back to treetest after a long
history of problems with the name clash. This cures a link problem
with the sample compiled with wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:22:02 +00:00
Julian Smart
59db9cfaa7 Replaced Blit with DrawBitmap in wxPoem to make it run with wxX11
Added some XSyncs because it seems the only way to make
dialog sizing work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 10:56:39 +00:00
Ron Lee
5541d1fda4 build fix. Need the full declaration for CLASSINFO().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 04:54:57 +00:00
Vadim Zeitlin
4c6b8d9e6f no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 22:44:39 +00:00
Julian Smart
046ba576a8 Only reparent first window if there are several children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 15:47:44 +00:00
Julian Smart
b726509bdc Added a screenshot of wxEmulator showing the default emulator
configuration with wxToolBar demo running the 'matchbox'
window manager.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 14:31:27 +00:00
Julian Smart
d27294ac6e Added XPM icon; minor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:50:06 +00:00
Vadim Zeitlin
62313c2788 right clicking outside any column sets the column in the list event to -1, not the last column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:32:56 +00:00
Vadim Zeitlin
0fe5e8fea0 implemented menu drawing in the GTK theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:26:35 +00:00
Julian Smart
d1b327e1f9 Tweaks to emulator and documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:10:03 +00:00
Vadim Zeitlin
2e7b0a1617 more GTK-ish toolbar drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 11:50:10 +00:00
Vadim Zeitlin
8b3fddc493 ignore clicks on a toolbar but outside any button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 11:43:48 +00:00
Vadim Zeitlin
6a0fab3a3a added missing headers to fix compilation without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 10:59:57 +00:00
Václav Slavík
fa03793d3b use AllocExclusive in wxAcceleratorTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 23:11:46 +00:00
Václav Slavík
b82d2a004d wxAcceleratorEntry::MatchesEvent is NOT used by wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 23:11:18 +00:00
Vadim Zeitlin
326c7ea888 propagate the click dismissing a popup window to the window beneath it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 22:41:50 +00:00
Robert Roebling
9b8270da40 Next try on pop up menus. (#ifdef x11).
More SetFocus() work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 20:35:55 +00:00
Vadim Zeitlin
ac92c7e948 better fix (i.e. one which actually works) for VC++ warnings in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 18:36:35 +00:00
Julian Smart
a81cf6f490 Added emulator screen; regenerated configure for utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 16:44:25 +00:00
Václav Slavík
9fcaaedd89 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 16:33:16 +00:00
Vadim Zeitlin
51c14c62de fix for using an invalid HWND in IsEditable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 14:46:25 +00:00
Julian Smart
0470b3826a Minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 14:41:07 +00:00
Julian Smart
ec0674452a Corrected image size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 14:31:47 +00:00
Julian Smart
3373d6bfaf Added emulator utility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 13:30:16 +00:00
Ron Lee
3aa5d53272 added optional parameter to SetSizer, to allow replacing a window's
sizer without deleting the existing one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 11:19:16 +00:00
Julian Smart
e25f954b96 Moved Nano-X specific code from univ to x11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 09:25:35 +00:00
Robin Dunn
6824d4f9e0 Applied and merged patch 486364, which enables wxPython to be built in
unicode mode.  There are a number of things still missing in it and
not everything is converted correctly...  But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything.  The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:40:13 +00:00
Robin Dunn
c8bc7bb84d Applied and merged patch 486364, which enables wxPython to be built in
unicode mode.  There are a number of things still missing in it and
not everything is converted correctly...  But it now builds and
functions properly again in non-unicode mode so this is a good time to
check in everything.  The previous version of all of wxPython sources
is tagged wxPy_B4_UNICODE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:29:04 +00:00
Václav Slavík
3b7bc64a2a htmlhelp.h no longer needed -> removed test in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 00:01:33 +00:00
Robin Dunn
da0ddbd6df SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 23:55:25 +00:00
Vadim Zeitlin
c34bed1413 fixed a few VC++ warnings (release mode only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:54:24 +00:00