Commit Graph

12770 Commits

Author SHA1 Message Date
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
Julian Smart
1f1a42a63c Removed README from old framelayout dir, since it was
more confusing than helpful to have the framelayout dir
appear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:53:41 +00:00
Vadim Zeitlin
cd560c961a [this message is for the previous commit as well]
1. <htmlhelp.h> is not required any more
2. fixed memory leak


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:46:20 +00:00
Václav Slavík
771c7b4a4b reverted Robert's change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:07:52 +00:00
Vadim Zeitlin
3295e23873 don't include wx/wx.h unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:55:39 +00:00
Vadim Zeitlin
3d8daa0fb9 copy the variant name in the assignment operator as well!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:55:03 +00:00
Julian Smart
c978d36124 Added reparenting helper classes to help apps to grab the windows
of other applications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:51:10 +00:00
Václav Slavík
39578f9cfc query MGL for resolution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:30:49 +00:00
Robin Dunn
4be610641a New SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:19:28 +00:00
Robin Dunn
936bea5dc1 Reformatted some demo text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:18:55 +00:00
Robert Roebling
ee3510132b Various changes to make pop up menus work
under X11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 20:22:44 +00:00
Vadim Zeitlin
96c21216a6 look at HOME and USERPROFILE in wxGetHomeDir() (patch 527210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 17:26:48 +00:00
Vadim Zeitlin
68d95db4d0 compilation warning fix for the daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 16:54:42 +00:00
Václav Slavík
95d8a1da30 what about returning a value?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 16:40:12 +00:00
Václav Slavík
c109ef116d fixed to translatable strings output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 16:35:00 +00:00