Julian Smart
e941874b17
Added some Xlib replacement functions and structures for Nano-X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 20:49:14 +00:00
Vadim Zeitlin
bcebad81f1
enable WXWIN_COMPATIBILITY_2_2 by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 19:14:22 +00:00
Mattia Barbon
ed8a10f817
Blind fix for Win32 daily builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 16:07:39 +00:00
Václav Slavík
c331ac2ed7
use generic timer in wxMGL and wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:57:33 +00:00
Václav Slavík
a0cb0ba509
move wxMGL's wxTimer to src/generic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:55:41 +00:00
Václav Slavík
1aee06c5b7
cleaned a bit of mess in wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:58 +00:00
Vadim Zeitlin
3e58dcb905
various splitter fixes:
...
1. generate the events from the event handlers, thus it is now possible to
process the splitter events in the parent window
2. when double clicking the splitter which can't be unsplit it doesn't jump
by a couple of pixels
3. misc code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 21:53:52 +00:00
Stefan Csomor
22385679c4
new bitmap creation code for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 13:37:23 +00:00
Robert Roebling
8ac7c50924
wxX11:
...
Made timer compile and maybe work.
Fixed display bug in wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 10:59:55 +00:00
Václav Slavík
ca39e4095a
more fixes to wxSplitterWindow's initial sash position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:51:06 +00:00
Václav Slavík
fd94e8aa45
A couple of changes to wxImage:
...
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
(with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
to pass wxIMAGE_OPTION_FILENAME to all saving handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Václav Slavík
ee1046d1cf
don't translate accelerators in XRC menus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:43 +00:00
Vadim Zeitlin
56d0c5a6a7
made wxDateTimeDefault an object and not a reference to avoid (well, minimize) initialization order problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 16:36:04 +00:00
Vadim Zeitlin
fbfb3fb3c7
AIX compilation fixes from Paul Thiessen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:11:06 +00:00
Vadim Zeitlin
5737d05f86
fixed <strings.h> include and also removed the obsolete WXSTRING_IS_WXOBJECT setting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:06:17 +00:00
Julian Smart
256d631aaf
Started some NanoX work (blind to begin with)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:14:42 +00:00
Robin Dunn
be90c029fd
As per the wx-dev discussion in early Jan, replaced
...
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of. Windows will now remove
themselves from a sizer when destroyed. Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Robert Roebling
ba696cfadf
Updated the erase/paint event logic.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:08:45 +00:00
Vadim Zeitlin
2e8cc3e834
fixes to sash adjusting code to avoid setting it to 0 initially
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:00:41 +00:00
Václav Slavík
52750c2e10
copyright update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:34 +00:00
Julian Smart
3a0b23eb74
Added some XSyncs to help size calculations, but positioning
...
dialog remains a mystery
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:06:50 +00:00
Václav Slavík
cebf2fec3d
take const reference (thanks to Alberto Barbati)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:38 +00:00
Vadim Zeitlin
98c9194837
use the native wxImageList under Win32 as otherwise xUniv doesn't link currently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 14:23:35 +00:00
Vadim Zeitlin
071e5fd9e8
#if wxUSE_PALETTE, not #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:47:33 +00:00
Julian Smart
45ff6421e6
Removed wxBuffer from several ports; added function to get XEvent name;
...
started on commandline parsing for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:07:26 +00:00
Stefan Csomor
318fa6983d
added .inited comparison as suggested by John McPherson to avoid comparison wxBlack to wxNullBitmap being true
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 09:02:54 +00:00
Václav Slavík
cbe0afe09a
added wxUpdateUIEvent handling to wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:36:33 +00:00
Vadim Zeitlin
7183fd726e
added wxFSVolume patch from George Policello (untested, unreferenced from the project files yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 21:01:50 +00:00
Julian Smart
61aa560b2d
Fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:23:13 +00:00
Robert Roebling
0d1dff0172
wxX11:
...
INtroduced OnInternalIdle as per wxGTK so that users
cannot as easily lill the internals.
Fixed pop-up transient window.
Removed some #if 0 here and there.
Made refresh code work in idle instead of directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:43:18 +00:00
Julian Smart
5e29f97a3c
Added shared private declarations header privx.h, utils.cpp now shared
...
between wxMotif and wxX11; added some TODOs to toplevel.cpp, popupwin.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:17:29 +00:00
Robert Roebling
a11672a469
wxX11:
...
Lots of wxBitmap et al work.
Adapted wxIcon, wxCursor to this.
Split wxApp init things up so that the
X11 display is available sooner.
Changed initial display code accordingly.
Corrected wxDC::DrawBitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 08:38:54 +00:00
Julian Smart
7edcafa467
Removed some debug code from window headers; added some debug
...
code to try to figure out capture problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:15:20 +00:00
Julian Smart
e5053ade6b
Attempts to get client origin working. Work in progress.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 12:59:14 +00:00
Václav Slavík
d76ac8ed88
wxSplitterWindow now:
...
1. respects minimal size even when set programatically
2. respects minimal size of child windows if set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:48:33 +00:00
Václav Slavík
5229b11d2c
rewrote wxHtmlHelpFrame using sizers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:47:43 +00:00
Robert Roebling
3cd0b8c5b5
wxX11:
...
Updated wxColour for handling Colormaps and ref couting.
Updated wxClientDC et al. for conforming to wxGTK. Many
tricky parts, particularly the bitmap drawing and
blitting is still missing.
Any sample crashes now for some reason with an X error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 20:41:24 +00:00
Julian Smart
6ec507fd25
Attempted to add configury for NanoX compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 18:03:47 +00:00
Robert Roebling
1b0b798d77
Various compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:04:35 +00:00
Julian Smart
b28d3abf7e
Small changes to wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 11:06:50 +00:00
Robert Roebling
8354aa92a1
wxX11: link errors down to 1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:31:24 +00:00
Julian Smart
1246e28fb0
Added wxPopupWindow skeleton (no implementation yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:21:44 +00:00
Václav Slavík
e7dda1ffa3
respect minimal wxTLW size in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Václav Slavík
55e0770e6f
added default ctor to wxStaticText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:40 +00:00
Robert Roebling
d02cb44ecf
Killed various wxMotif things in wxX11.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 18:04:13 +00:00
Robert Roebling
74dc5eb60e
wxX11:
...
Updated wxPen and wxBrush.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 17:24:14 +00:00
Robert Roebling
1934d291cd
wxX11:
...
Rewrote wxRegion.
Killed backing store Pixmap.
Killed wxRectList.
Adapted wxWindow to the above.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:42:42 +00:00
Vadim Zeitlin
c3e44503cf
fix for wxUniv/GTK scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:09:49 +00:00
David Webster
1b7735e10f
Removing OS/2 specific positioning methods, no longer needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 04:33:20 +00:00
Julian Smart
b513212d2e
More X11 code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 01:03:45 +00:00