Commit Graph

21725 Commits

Author SHA1 Message Date
Robin Dunn
5d2ad05582 wxGTK2 sends *only* wxEVT_SCROLLWIN_THUMBTRACK (why?) so
wxVScrolledWindow needs to respond to it otherwise nothing happens
when using the scrollbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 22:27:49 +00:00
Robin Dunn
426936d182 Change wxMSW to use WidthDefault and HeightDefault for window sizes,
like the other platforms do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 21:17:06 +00:00
Robin Dunn
723f8e3a33 Updated comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 21:16:28 +00:00
Robin Dunn
a7c26d107d Changed WidthDefault() and HeightDefault() to use 400,250. If there
is a better set of default values feel free to change it, just don't
make them too small for TLWs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 21:04:10 +00:00
Robin Dunn
fffd96b769 MaskedEditCtrl updates from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 20:58:16 +00:00
Robin Dunn
64ff2615ae Remove #!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 20:57:15 +00:00
Ron Lee
b63b07a809 More updates to the Debian packaging for wxPython, unicode and
the project name change.

Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.

Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.

Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.

Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.

Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.

Added missing newline at the end of fontdlg.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Vadim Zeitlin
a0af0d98b5 don't lose fonts underlined flag in ReInit() (bug fix for the change in rev. 1.76)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 14:09:36 +00:00
Václav Slavík
b8e7f410db wxHTML not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 13:49:25 +00:00
Václav Slavík
eca1e6a0cc always define wxUSE_MOUSEWHEEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 10:54:04 +00:00
Robin Dunn
cc0bffaceb Changed CanApplyParentThemeBackground to ApplyParentThemeBackground
and let the windows set the the background colour themselves (or not)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 05:28:21 +00:00
Robin Dunn
8eca4fef10 When running samples from the demo standalone you can now add a
--shell to the command line and it will start a PyShell to go with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 00:06:33 +00:00
Robin Dunn
4395fb21f6 Delay checking for the requested sash position until the first
OnInternalIdle after it is set.

TRUE/FALSE --> true/false

Fixed a bug that allowed the sash cursor to be shown the the pointer
is not quite on the sash yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 23:48:41 +00:00
Julian Smart
95c1ea29ed WinCE project and wxDC corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 23:16:47 +00:00
Robin Dunn
80c700cba9 Use wxWANTS_CHARS style so cursor keys can be used on wxMSW, send
wxNavigationKeyEvents on MSW since WANTS_CHARS will block those, and
inherit font and colors like wxListBox does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 18:39:08 +00:00
Robin Dunn
bd507486e0 Added CanApplyParentThemeBackground and use it in wxMSW's
wxNotebook::ApplyThemeBackground.  It's in the common base classes so
that someday it's usage can expand to the other platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 17:03:55 +00:00
Stefan Csomor
a6de86fa53 support for wxUSE_PALETTE = 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 16:16:58 +00:00
David Webster
884215788f Remove the Innotek for OS/2 addition...configure now deals with this correctly on it's own
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 14:33:20 +00:00
David Webster
31bb37a246 Remove the Innotek for OS/2 addition...configure now deals with this correctly on it's own
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 14:25:04 +00:00
Jouk Jansen
57b4050c83 Committing in .
change OpenVMS compile support from wxWindows to wxWidgets

 Modified Files:
 	wxWidgets/descrip.mms wxWidgets/setup.h_vms
 	wxWidgets/lib/vms.opt wxWidgets/lib/vms_gtk.opt
 	wxWidgets/lib/vms_gtk_univ.opt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 09:39:24 +00:00
Stefan Csomor
d223107206 placeholder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 07:27:42 +00:00
Stefan Csomor
bcce8f754f fix for late redraw messages in a already destroyed window hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 07:18:36 +00:00
Stefan Neis
e7d70ef0e3 Fixed error in moving code from app.cpp in evtloop.cpp - caused accelerator
handling to be broken, now fixed again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 00:16:56 +00:00
Robin Dunn
327b382e1e Put version numbers back to 2.5.1 until 2.5.2 is imminent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:40:24 +00:00
Václav Slavík
abf07807b4 no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:12:54 +00:00
Václav Slavík
943e6c56ac regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:07:52 +00:00
Vadim Zeitlin
fa2d17ac25 use global file/regkey by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:04:04 +00:00
Vadim Zeitlin
9a85c87d32 fixed bug with not reading settings from HKLM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:02:26 +00:00
Vadim Zeitlin
bee96abfbc added AccessMode parameter to wxRegKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:01:05 +00:00
Václav Slavík
670ec35765 applied path 906264: test program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 22:56:16 +00:00
Václav Slavík
98eae46601 compilation fix for unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 22:53:52 +00:00
Vadim Zeitlin
3e1bf71c36 do check for <iostream> even when cross-compiling -- why not?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 22:16:32 +00:00
Vadim Zeitlin
4e86e9cd19 added wxMenuBar::GetLabelTop() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 22:14:25 +00:00
Mattia Barbon
d0b0287895 Add missing file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 21:05:18 +00:00
Mattia Barbon
2a23a89dec Removed duplicated code.
wxTranslateXXXEvent must not alter the XEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 21:03:13 +00:00
Mattia Barbon
088ab98499 Calculate length explicitly (for wxUSE_STL == 1).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:59:24 +00:00
Julian Smart
3c2544bb70 Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
theming (some applications look bad without 3D borders)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:44:37 +00:00
Julian Smart
5088af155b Changed some version numbers to 2.5.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:38:09 +00:00
Robin Dunn
6d7dec7bfc Copy all needed files for the debian source dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:08:16 +00:00
Robin Dunn
39ad2bfe5c Copy all needed files for the debian source dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 19:06:39 +00:00
Stefan Csomor
48de597b73 API adaptions to MSW EnhMetafile, fixes and extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 14:47:55 +00:00
Julian Smart
7ba6220216 Only scale an image once, which vastly improves the appearance
of scaled images in print and preview


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 14:20:13 +00:00
Stefan Csomor
35c40e78c6 API adaptions to MSW EnhMetafile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 14:10:04 +00:00
Julian Smart
29402f455b Allow an app to call SetFont on a PS DC without assertion
(should be possible to use SetFont before StartDoc).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 13:32:24 +00:00
Stefan Csomor
21956470c7 safe destruction, even if redraws might be triggered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 10:47:57 +00:00
Chris Elliott
b2247ee93b final part of SF patch #904166 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 10:46:59 +00:00
Stefan Csomor
6898822480 casting for CW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 09:39:51 +00:00
Stefan Csomor
d206654397 tentative fix for http://sourceforge.net/tracker/index.php?func=detail&aid=908712&group_id=9863&atid=109863
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 09:39:02 +00:00
Stefan Csomor
f3a355ceb3 added conversions via UniChar for wchar = 4 bytes versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 09:24:02 +00:00
Stefan Csomor
604b66c10b added comment about array, switched intepretation of IsRunning to MSW meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 07:17:32 +00:00