Commit Graph

33529 Commits

Author SHA1 Message Date
Julian Smart
d5363f57fb Make an image block beore writing it, if there's no data in the block
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 18:37:09 +00:00
Vadim Zeitlin
dd5cb4b197 define WX_DIR as WXWIN env var for Unix and not only Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 15:47:11 +00:00
Vadim Zeitlin
c81032a760 allow specifying non default libraries for gnu output format (patch 1469464)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 15:42:00 +00:00
Julian Smart
4bfec1790f Changed the wxPlatform syntax as per Vadim's suggestions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 09:31:06 +00:00
Vadim Zeitlin
e4861c72be HitTest() seems to be implemented on most platforms now (replaces patch 1467212)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:24:32 +00:00
Vadim Zeitlin
c9d9b9c11a fixed typo in EVT_SCROLLWIN_BOTTOM documentation (patch 1463429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:16:16 +00:00
Vadim Zeitlin
760f0fc2f4 set up scrollbars correctly when we don't need them (fixes the problems reported by the patches 1460482 and 1456060)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:14:28 +00:00
Vadim Zeitlin
6fb683081c removed unnecessary (the problem is due to a bug elsewhere) test for vertical scroll position in OnScroll() introduced in rev 1.400
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 01:10:28 +00:00
Vadim Zeitlin
cf76cd4eba a tentatively better fix for the problem of patch 1456060: don't use m_linesPerPage directly as it's initialized on demand by GetCountPerPage(); also removed some stray tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 00:48:34 +00:00
Julian Smart
55d452c6f9 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 19:34:18 +00:00
Vadim Zeitlin
d364df5fee removed unneeded reverse_iterator::operator->() which provokes VC6 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 18:39:56 +00:00
Julian Smart
230c90774f Easier platform testing class and function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 17:40:13 +00:00
Vadim Zeitlin
481203cb23 made width computation in GetTextExtent() more precise, especially for italics fonts (based on the code from Wlodek Szafran)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:08:43 +00:00
Vadim Zeitlin
968f291be6 added wxString::rbegin() and rend()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:03:57 +00:00
Stefan Neis
d704d2f5dc Replaced "uint" (which may be or may not be defined depending on platform)
by "guint".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 10:01:21 +00:00
Robin Dunn
e9d6f3a473 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 07:30:59 +00:00
Robin Dunn
89a3d0f772 Avoid assert that was hidden by IsStandard bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 06:54:37 +00:00
Robin Dunn
7017fd6745 IsStandard needs to check m_type, not m_format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 06:53:56 +00:00
Robin Dunn
c072c75701 Give wxDataObjectComposite a way to report what kind of data was given
to it from the clipboard or DnD source.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:35:08 +00:00
Robin Dunn
4725f47eb2 Various wxHtml updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:30:35 +00:00
Robin Dunn
de871c916e Add wxButtonToolBar, but since it is currently only enabled for Mac
leave it #if'd out for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:15:56 +00:00
Robin Dunn
2890ca155b Remove wxHVScrolledWindow wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:06:41 +00:00
Robin Dunn
1564807335 Wrap some deprecation wrappers around newly deprecated items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 05:02:59 +00:00
Robin Dunn
e6f85a8554 Add some missing wxPyBeginBlockThreads calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 04:29:30 +00:00
Vadim Zeitlin
619297ab30 slight simplification of coords translation code in GetBoundingRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 01:16:52 +00:00
Vadim Zeitlin
96c59453c5 removed reference to hvscroll.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 23:03:28 +00:00
Vadim Zeitlin
4c384a0b37 reverted wxHVScrolledWindow patch (back to rev 1.10)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 22:03:07 +00:00
Václav Slavík
5e888f8eef don't use deprecated interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 21:02:54 +00:00
Václav Slavík
31297dbbd0 use public inheritance when deriving from wxHtmlWindowMouseHelper so that overriden methods can call base versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 20:43:06 +00:00
Włodzimierz Skiba
561db924ca Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 20:06:39 +00:00
Włodzimierz Skiba
3ed377f13a Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 19:56:03 +00:00
Włodzimierz Skiba
1d94e268dd Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 19:54:51 +00:00
Włodzimierz Skiba
89831b54e6 Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 19:32:51 +00:00
Włodzimierz Skiba
8243a33965 HitTest is not deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 18:17:16 +00:00
Vadim Zeitlin
bf5752a4a0 respect the specified font encoding in DoGetTextExtent() instead of always using m_font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:34:35 +00:00
Vadim Zeitlin
1a6c768b17 added wxGTK_CONV_FONT/ENC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:32:25 +00:00
Vadim Zeitlin
63916e4494 don't show vertical scrollbar if we don't need it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:16:45 +00:00
Włodzimierz Skiba
40ff126ac4 Deprecated and obsolete parts marked up for backward compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 17:01:16 +00:00
Julian Smart
006591def7 Spacing tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 16:25:33 +00:00
Vadim Zeitlin
234b1c0147 reverted wxHVScrolledWindow patch (rev 1.19/1.21 of vscroll.h/.cpp) because not only we don't want to duplicate code like this but it also broke wxHtmlListBox by making scrolling in it O(N) instead of O(1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:55:28 +00:00
Julian Smart
fac6eaec24 Simulated text labels and toggle highlights under buttons
Removed background colour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:49:57 +00:00
Julian Smart
b95c06ba08 Reversed accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:24:50 +00:00
Vadim Zeitlin
959b1a338e fixed bug with not taking background colour into account introduced in 1.24
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 15:22:31 +00:00
Julian Smart
77631b1d81 Implemented Mac-style button toggling within wxButtonToolBar, and line
under toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:40:34 +00:00
Julian Smart
1a1190b245 Allow specification of border spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:38:48 +00:00
Włodzimierz Skiba
9d9d3d55c9 MSLU with DMC build fix [#1469456].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:16:29 +00:00
Václav Slavík
88a1b6485f don't show the I-beam cursor over text in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 11:38:36 +00:00
Julian Smart
b887dc7b5a wxButtonToolBar only useful on Mac right now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 10:09:11 +00:00
Julian Smart
e5f49cbf82 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:31:47 +00:00
Julian Smart
64d3ed176d Steps towards implementing native-style, non-top-level toolbars on Mac
by implementing a toolbar class that uses native buttons.
Ultimately this should allow wxToolbook and wxPropertySheetDialog
classes to look native, when we complete the button API improvements
to combine text, bitmaps and toggling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:15:10 +00:00