Commit Graph

12397 Commits

Author SHA1 Message Date
Robin Dunn
85e7fb12b0 Don't log StretchDIBits failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 02:06:01 +00:00
Robin Dunn
610926ab51 We need a file when printing to the printer too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 01:18:15 +00:00
Robin Dunn
1111cedc6a TLWs can use the WidthDefault and HeightDefault methods too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 01:17:22 +00:00
Robin Dunn
3a12cb0a94 Give wxGauge a best size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-10 01:15:30 +00:00
Stefan Neis
b6db2e9107 C++ comments transformed to C comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:48:53 +00:00
Stefan Neis
60848fcfef Fixed some problems in converting existing static libs into DLLs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:34:28 +00:00
Stefan Neis
c6e801d3e6 Link against import libraries of DLLs when building DLLs.
Enforce 8.3 names for wxWindows DLLs - make install is going to need fixing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 21:53:07 +00:00
Robin Dunn
9470921fbb Need to use the same instance handles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 02:17:23 +00:00
Robin Dunn
ed666328da Use EDIT_HEIGHT_FROM_CHAR_HEIGHT until something better can be done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 23:28:31 +00:00
Stefan Neis
f3d8619423 main() is now always in the program.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 13:01:21 +00:00
Stefan Neis
bed67b7f86 Don't use global wxBuffer from code that gets compiled into the wx_base*.dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 11:29:15 +00:00
Stefan Neis
2d35020a8d Shell version of dllar, needed for building DLLs while generating
.def file on the fly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 09:50:27 +00:00
Václav Slavík
8f8e45c4d9 removed more unneeded files, see patch 890642
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-08 09:41:41 +00:00
Dimitri Schoolwerth
20fa338c41 Reverted FILLCOLORHINT->FILLCOLOR change. Now when a near black themeColor is returned with FILLCOLORHINT, retry with FILLCOLOR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 20:00:28 +00:00
Julian Smart
73bb677607 Improved wxTreeCtrl tooltip processing performance (causing
major delays in processing button clicks)
Added wxFULL_REPAINT_ON_RESIZE as default for wxStatusBar
on wxGTK since otherwise there are display problems.
Similarly for wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 17:28:36 +00:00
Robert Roebling
4f85606724 Added wxToggleBitmapButton (it compiles).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 16:46:36 +00:00
Stefan Csomor
8471ea9033 fix for always terminating intermediate UniChar String for 4 bytes wchar_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 16:45:38 +00:00
Julian Smart
87ff599d25 Don't refresh statusbar field if the text is identical
(removes flicker)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 15:22:28 +00:00
Stefan Csomor
4227afa4f7 byte length for interim UniChar String corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 14:54:21 +00:00
Stefan Csomor
da3f3e049a header includes for mac corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 14:49:56 +00:00
Stefan Csomor
69d90995bb SetWindowVariant implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 12:42:37 +00:00
Václav Slavík
30bb5e18ac removed unneeded makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 09:37:09 +00:00
Stefan Csomor
7688f0a1f7 unicode fix and header includes corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 06:03:54 +00:00
Stefan Csomor
7f0c3a63a0 OS Header includes corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-07 06:01:53 +00:00
Robin Dunn
c26dba42b7 Decided that not doing methods for keyboard commands was not worth the
effort keeping track of which should be eliminated and which should
not.  Now all functions defined in Scintilla.iface will have a method
in the wxSTC class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-06 00:09:07 +00:00
Robin Dunn
979fdc00c6 Use WidthDefault and HeightDefault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 23:36:20 +00:00
Václav Slavík
99e839da3c moved to tests/regex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 23:13:58 +00:00
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
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
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
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
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
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
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
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
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
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