Václav Slavík
094ca819f9
create wxSpinCtrl with default pos+size first, so that the subsequent call to DoSetSize is not a no-op
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:29:10 +00:00
Robert Roebling
90f501b16e
Fixed bug with disappearing menus. They were
...
drawn under all other windows all but the
first time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 19:55:26 +00:00
Julian Smart
15c6934360
Stopped width = 0 fouling up window size change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:26:17 +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
99ee04b97b
implemented cursors cache, so that cursors are not loaded from file again and again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:53 +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
Julian Smart
3edb5d305c
Restored previous mouse release/capture behaviour for some ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 15:47:01 +00:00
Vadim Zeitlin
e3b7670bbe
compilation fix for wxUSE_PALETTE == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:50:10 +00:00
Robert Roebling
86fd8bda38
Some clean-ups which don't really solve any problem yet.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:13:08 +00:00
Julian Smart
307be31a92
Added border for top level windows with captions, though
...
this does seem to make it resizable also. Sizing of about dialog
wrong at present.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 12:07:54 +00:00
Julian Smart
edaf57a4da
Added SetSize to toplevel window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:55:22 +00:00
Julian Smart
af2309c0fb
Commented out XSetInputFocus for now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:37:19 +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
Robert Roebling
346d4fcde7
wxX11:
...
Don't add popup windows to wxTopLevelWindows,
espially not if you don't delete them later.
Corrected ReleaseMouse().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:45:13 +00:00
Václav Slavík
81762e79b8
handle accelerators for buttons, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:38:09 +00:00
Václav Slavík
d53fc7c96d
1. added wxUpdateUIEvent handling to wxMGL
...
2. added Alt-F4 and PrintScreen handling
3. removed accelerators handling (done by wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:37:12 +00:00
Vadim Zeitlin
ca1b5af1c4
delete the command if we failed to execute it (bug 515687)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 23:34:25 +00:00
Vadim Zeitlin
d973988695
return NULL from FindById() if the tool wasn't found (bug 508399)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 21:04:43 +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
Robin Dunn
c2d516f260
Fix for the splashscreen bitmap not showing up in wxGTK.
...
NOTE: This is just a band-aid fix. Someone (Robert?) should really
check why the wxEraseEvent was not sent to this window at all!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 19:03:30 +00:00
Julian Smart
707440dc36
Allowed for wxHAVE_LIB_XPM or using wxXPMDecoder
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 18:01:38 +00:00
Julian Smart
f9488c6611
Include src/x11/utils.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:17:09 +00:00
Julian Smart
a1de932df0
Fixed typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:16:46 +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
Vadim Zeitlin
ac0141634d
warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:41:26 +00:00
Vadim Zeitlin
5f02e46732
do NOT hard code univ sources in x11 port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:33:09 +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
Václav Slavík
5a750e5a17
use wxLogTrace, not wxLogDebug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 00:35:47 +00:00
Vadim Zeitlin
fea2b62e8e
fixed loading the icons with non default size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 00:31:29 +00:00
Václav Slavík
aa74396d46
don't allow dragging a window if it is maximized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 23:25:36 +00:00
Julian Smart
a3215b22a3
Added XSync before mapping but this doesn't seem enough to get
...
the popup window to show before the capture (which fails if not
mapped)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:27:43 +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
44f8caa786
Correction for 'protected' compiler error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 17:43:05 +00:00
Julian Smart
072db400de
Modified CaptureMouse to call DoReleaseMouse if necessary before
...
doing another DoCaptureMouse, because otherwise we have a nested
Capture which is not possible in some systems (the point of these
wrappers).
Also ReleaseMouse now calls DoCaptureMouse, not CaptureMouse, if
necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 17:31:23 +00:00
Julian Smart
56cb684ab2
Pass correct length to XTextExtents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 15:39:18 +00:00
Julian Smart
2034b74887
Background set correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 14:56:54 +00:00
Julian Smart
9f05ea2173
Positioned text correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 14:56:31 +00:00
Julian Smart
418d4918a2
Status bar positioned correctly, but no sign of the
...
menubar as yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 14:16:54 +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
Julian Smart
43d611cbcc
Simplified default wxTheme code and made sure a default
...
is available without having to set the WXTHEME variable.
The 'default default' is WIN32. So flame me :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 11:35:34 +00:00
Václav Slavík
e41dcea547
safeguards against crashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:55 +00:00
Václav Slavík
3dbe38c370
fixed menubar attaching: create it first, THEN set pointer to it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:45 +00:00
David Webster
524d72c4cb
Display child panels, and make unneeded scrollbars disappear and reappear when needed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 06:00:27 +00:00
Robin Dunn
ccd970b13b
Fixed a bug that prevented editors and renderers to be purly data type
...
dirven (IOW, if no other cell attributes have been set but the cell
has a non-string type.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 01:54:48 +00:00
Václav Slavík
3b423cdd3a
wxGenericDirCtrl now correctly updates itself when you click on 'show hidden'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:48:57 +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
Václav Slavík
73ef393701
use wxHashMap, not wxHashTable in wxXPMDecoder
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:47:01 +00:00
Václav Slavík
d6a6d666b4
a note just in case I misread wxHTML code again...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:46:46 +00:00