Commit Graph

33612 Commits

Author SHA1 Message Date
Robert Roebling
862d8041ab Add wxRenderer::DrawCheckButton for use inside
wxDataViewCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 16:14:12 +00:00
Włodzimierz Skiba
f6630099a7 Blind build fix for night wxOS2 build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 12:30:57 +00:00
Włodzimierz Skiba
3a8db46f44 Fixes after stock gdi changes within core library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 10:01:38 +00:00
Włodzimierz Skiba
7520f3da33 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 09:56:17 +00:00
Włodzimierz Skiba
18f3decb46 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 09:05:00 +00:00
Włodzimierz Skiba
ce3e37f1ec [#1472076] Fixes after stock gdi changes within core library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 08:29:15 +00:00
Włodzimierz Skiba
93763ad5ba wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 08:11:26 +00:00
Włodzimierz Skiba
8898456df4 wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 07:24:35 +00:00
Vadim Zeitlin
2c1e249967 compilation fix for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 18:04:58 +00:00
Vadim Zeitlin
8258c3ddbd document that Remove(index) doesn't delete the window neither (replaces patch 1470834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 17:01:16 +00:00
Vadim Zeitlin
484e841e33 corrected ancient event type constant in an example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 11:43:41 +00:00
Vadim Zeitlin
61bb5a9c1b implement Layout() so that sizers work correctly when the window is scrolled (1st part of the patch 1439905)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 02:00:48 +00:00
Vadim Zeitlin
f5e209857f don't use COMPRESSION_LZW by default, it's not implemented in our own libtiff (patch 1434275)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:54:10 +00:00
Vadim Zeitlin
b26a650c10 added insert_at property for the object nodes (patch 1185138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:35:22 +00:00
Vadim Zeitlin
17af82fb4c added wxStandardPaths::GetDocumentsDir() (patch 1214360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Vadim Zeitlin
af6c0f1de7 don't eat activation events (replaces patch 1465849)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 00:00:58 +00:00
Vadim Zeitlin
3700e21b91 added a menu allowing to quickly switch to any page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:57:57 +00:00
Vadim Zeitlin
fdfe568d12 no changes, just removed some commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:43:49 +00:00
Vadim Zeitlin
a183ddba3e don't return items which are not visible from DoHitTest() (patch 1448508)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:41:52 +00:00
Vadim Zeitlin
1301e2289f added a menu allowing to change the border style used by the widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:39:11 +00:00
Vadim Zeitlin
6493aacaeb centralized the handling of border styles; added borders support for wxListBox and support of other kinds of borders (patch 1448088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:38:26 +00:00
Vadim Zeitlin
3786c8b587 added wxMenu::AppendSubMenu() to avoid having to specify a dummy id when adding a submenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:25:21 +00:00
Vadim Zeitlin
47ce5c4a5a clarified the rules for determining whether the path is absolute or relative (patch 1451229 and bug 1438196)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:44:19 +00:00
Vadim Zeitlin
432ea998aa added virtual dtor to wxHtmlWindowMouseHelper to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:41:15 +00:00
Vadim Zeitlin
1de8d512b7 simplify/cleanup wxTheXXXList and wxGDIObject code (patch 1452023 from Paul Cornett)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:33:24 +00:00
Vadim Zeitlin
d0914b9d8d build fixes for wxUSE_LOG==0 (modified patch 1450207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:29:47 +00:00
Vadim Zeitlin
f516d98637 create stock GDI objects on demand; use const with GDI objects appropriately (patch 1445355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:18:29 +00:00
Vadim Zeitlin
c4edcd7c86 documented Set/GetBitmapSelected() (patch 1339028)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 22:10:45 +00:00
Vadim Zeitlin
66df4ec643 show effects of mirroring toucan image with alpha (modified part of patch 1469817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:41:59 +00:00
Vadim Zeitlin
051924b886 Handle alpha channel in wxImage::Mirror() and GetSubImage() (patch 1469817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:37:39 +00:00
Vadim Zeitlin
2936a6b18c implement wxFileModificationTime() in terms of wxFileName::GetTimes() (replaces broken patch 1468592)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:24:22 +00:00
Vadim Zeitlin
57e988b8ef added overwrite parameter to wxRenameFile (patch 1467041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:14:00 +00:00
Vadim Zeitlin
e3950b1852 added missing methods documentation (patch 1466949); also use \arg instead of \it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 21:09:12 +00:00
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