Paul Cornett
c0989defa0
Fixes after stock gdi changes within core library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:26:26 +00:00
Vadim Zeitlin
e56f4f9e90
use CXXFLAGS instead of CFLAGS in several places now that the tests are done using C++ compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 22:06:57 +00:00
Robin Dunn
e48f0e09bf
Add AppendSubMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:56 +00:00
Robin Dunn
1412e528f8
Removed GetVisible and SetVisible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:56:24 +00:00
Robin Dunn
e0de65e8b8
Added wx.RendererNative.DrawCheckButton.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:55:25 +00:00
Robin Dunn
46992103a3
Added wx.StandardPaths.GetDocumentsDir
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:54:14 +00:00
Robin Dunn
99a001dd43
Changed how the stock objects (wx.RED, wx.RED_PEN, wx.RED_BRUSH, etc.)
...
are initialized. They are now created as a wrapper object that
initializes itself on first use (when an attribute of the object is
requested.) This was needed because of similar delayed initialization
functionality that was implemented in wxWidgets, but the end result is
cleaner for wxPython as well, and allowed me to remove some ugly code
under the covers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:49:48 +00:00
Vadim Zeitlin
5d7b75542e
regenaretd configure after AC_LANG changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:07:06 +00:00
Vadim Zeitlin
a24217f050
don't include GNOME FS header if we don't use it (and might not have it at all)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:06:25 +00:00
Vadim Zeitlin
d84cedb39e
compile GTK+ test program using C compiler, not C++ one, otherwise it always fails as it uses undeclared functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:57 +00:00
Vadim Zeitlin
d240dea199
removed extra semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 21:03:15 +00:00
Vadim Zeitlin
8006bf3c49
do all tests using C++ compiler, this should fix all problems due to testing with C compiler and compiling the real code later with the C++ one (such as bug 1472458); in case of problems, the last version using C for (most) tests is tagged BEFORE_LANG_CXX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 20:50:24 +00:00
Włodzimierz Skiba
5c1f6b2752
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 19:37:10 +00:00
Włodzimierz Skiba
a2e5beeebb
Avoid deleting 'const' object.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-18 19:34:23 +00:00
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