Commit Graph

36143 Commits

Author SHA1 Message Date
Robin Dunn
7a14d08278 ensure that wxMAC_USE_CORE_GRAPHICS is turned on if wxUSE_GRAPHICS_CONTEXT is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:53:06 +00:00
Robin Dunn
2713e62971 Add USE_GDIPLUS option that will control (for the makefile builds) if
the gdiplus.lib library is added to the link, and whether
wxUSE_GRAPHICS_CONTEXT should be defined.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:45:17 +00:00
Robin Dunn
e88f652451 Make the message about wxUSE_GRAPHICS_CONTEXT a bit more informative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:42:31 +00:00
Robin Dunn
6cb4f153c3 Add FlatNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 22:24:18 +00:00
Jamie Gadd
ebd9ec2931 Need to update the bg brush when the first page is added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 21:34:54 +00:00
Robert Roebling
47cef10f28 Added sort order and alignement for column headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:35:23 +00:00
Mattia Barbon
3e0071d949 Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long
should suffice. A configure test would be better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:34:25 +00:00
Robert Roebling
07a84e7bbb Add support for bitmaps in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00
Robert Roebling
3ff07edb0b [ 1560785 ] wxFileName::IsReadable/Writable/Executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 17:28:31 +00:00
Vadim Zeitlin
5da414766e fix problems with using incorrect vswprintf() for mingw32/VC6 when wxUSE_PRINTF_POS_PARAMS==1, try to simplify/better organize all wxVsnprintf_()-related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 15:25:09 +00:00
Włodzimierz Skiba
67bb3c8818 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 12:11:12 +00:00
Vadim Zeitlin
4daa52ad8f restored Ove Kåven name in the header comment which was
broken a couple revisions ago; switched copyright to wxWidgets 
dev team as the whole as there are simply too many people who 
have modified this file to list them all; no changes in the code




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 11:54:30 +00:00
Włodzimierz Skiba
c4f6d9982e wxGenericDirCtrl page for widgets sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 10:20:32 +00:00
Włodzimierz Skiba
df3871691e Warning fixes and TODO markup for easier finding by brave volounteers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 07:18:25 +00:00
Vadim Zeitlin
f40ea601bf honour wxBU_EXACTFIT in wxToggleButton (patch 1567892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 23:02:13 +00:00
Vadim Zeitlin
a863333e37 fixed off by 2 error in HasPage() (patch 1562871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 22:58:23 +00:00
Vadim Zeitlin
595191bba9 fix the length passed to wxMB2WC (replaces patch 1554431); don't use (and especially don't overflow) fixed size buffer in the same function (just how many bugs can there be in 5 lines of code?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 19:43:20 +00:00
Vadim Zeitlin
e0876d7381 corrected date in header; removed extra wx/wxprec.h inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 18:13:49 +00:00
Vadim Zeitlin
6b036356ab updated copyright year, s/wxWindows/wxWidgets/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 18:05:25 +00:00
Vadim Zeitlin
493e7eb40c fixed unused var warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 17:45:58 +00:00
Robert Roebling
f828871d12 Add row activated event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:23:20 +00:00
Robert Roebling
97c7099a70 Fix warning for unknown menu stock id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 13:21:56 +00:00
Włodzimierz Skiba
b2b98dfd4b New icon for combobox with bitmaps. Improved readability of icons on dark backgrounds. Rgenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 10:51:24 +00:00
Włodzimierz Skiba
0cebbfc2bd Connect changed page event after subpages are created so book->SetSelection does not cause any lazy creation and non-treebook-based build does not crash.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:38:56 +00:00
Włodzimierz Skiba
f41cf3716e BookCtrl event handler added to default book layer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:33:52 +00:00
Robin Dunn
0e4e601244 Save a reference to the DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:28:49 +00:00
Robin Dunn
2f34cf6090 Avoid warnings when wxMAC_USE_CORE_GRAPHICS_BLEND_MODES is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:19:19 +00:00
Robin Dunn
f43426c1b9 Bakefile changes for building the graphics context modules, and
setup/configure changes for setting wxUSE_GRAPHICS_CONTEXT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 03:13:03 +00:00
Robin Dunn
7ba86d938d Wrap module in #if wxUSE_GRAPHICS_CONTEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:56:07 +00:00
Robin Dunn
38af4365b3 fix parameter type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:54:36 +00:00
Robin Dunn
5ce3abfb25 Avoid ambigous overload errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:53:35 +00:00
Robin Dunn
e1f8ec2909 Give the grid events a Clone method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:52:50 +00:00
Robin Dunn
2f799ae8d2 DLL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:51:05 +00:00
Robin Dunn
6d61d718f2 Add wrappers for wxGraphicsPath and wxGraphicsContext. This is still
a work in progress.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:36:33 +00:00
Robin Dunn
48ac3cf8e0 fix HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:35:16 +00:00
Robin Dunn
fc12c1cb58 KeyCode --> GetKeyCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:32:20 +00:00
Robin Dunn
2fd34892c1 Don't use the old wxPython namespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:31:28 +00:00
Robin Dunn
205d49f79e Change wx.DC inheritance hierarchy to match reality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:30:57 +00:00
Robin Dunn
ce60dd8efe Don't deprecate Inside() yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:30:09 +00:00
Robin Dunn
b43636aa55 Use Set(name) instead of InitFromName(name)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:29:04 +00:00
Robin Dunn
a187b3619e Don't forget the samples\ide\activegrid\model dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:28:14 +00:00
Robin Dunn
66dae888d1 Added the wx.lib.buttonpanel module, which is a tweaked version of
Andrea Gavana's FancyButtonPanel module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:23:17 +00:00
Paul Cornett
85dc49dc6c build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 19:28:10 +00:00
Paul Cornett
f7354d9269 univ build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 19:06:57 +00:00
Stefan Csomor
c56c787f47 line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 19:00:52 +00:00
Robert Roebling
fc211fe5ce More selection work in GTK+ version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Stefan Csomor
539872aef3 fixes for non precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:49:09 +00:00
Stefan Csomor
184fc6c87d cairo implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:47:17 +00:00
Stefan Csomor
dc8883366b adding alpha to gtk colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:45:33 +00:00
Paul Cornett
e808cf8a0a Don't free a string that is managed by wxGtkString, that's the whole _point_ of wxGtkString.
While we're at it, lets use it some more.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:01:18 +00:00