Commit Graph

36945 Commits

Author SHA1 Message Date
Vadim Zeitlin
6dad7fff04 move wxMSLU_xxx redefinitions of xxx() Windows functions to wx/msw/wrapwin.h as we have to define them after including <windows.h> and not before; also moved the rest of the wxMSLU redefinitions to wx/filefn.h where they're used as it doesn't make sense to keep only them in wx/msw/mslu.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:06:51 +00:00
Robin Dunn
a9b4d1ec97 Patch from Dj Gilcrease to fix gradients.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:54:23 +00:00
Stefan Csomor
2701ef7e86 adding workarounds for 10.4 only implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:31:41 +00:00
Stefan Csomor
00bd8e7218 switching to new renderer API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 17:22:19 +00:00
Julian Smart
5e530f0226 Minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 16:49:39 +00:00
Robin Dunn
b80e3a2a4f fixed compile error (jump to label bypasses initialization, or
something like that...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 16:19:36 +00:00
Robin Dunn
49db0f3f8d regen ReST docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:53:19 +00:00
Václav Slavík
eef1a0cc63 added wxDelegateTheme to accompany wxDelegateRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:33:10 +00:00
Václav Slavík
1b97b23d5f added wxDCTextColourChanger ctor that allows using the class in the same way other wxDCFooChangers are used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:30:43 +00:00
Robin Dunn
3ecece7e04 Fixed some (out) typemaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 15:22:43 +00:00
Václav Slavík
b3894f30e0 fixed selection when using keyboard after JS' change broke it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 14:54:40 +00:00
Benjamin Williams
cf6fec73d7 wxaui flags reworked a bit; allows any hinting type to be explicity invoked; turning off hinting completely is not possible; sample updated accordingly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 13:20:15 +00:00
Stefan Csomor
83576e682d adding new implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:05:56 +00:00
Stefan Csomor
06b9edb712 missing common create functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:04:48 +00:00
Stefan Csomor
9a02779a55 make this available everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 12:03:44 +00:00
Vadim Zeitlin
14be47346e fixed reversed return value of IsEmpty() (closes 1585004)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 11:57:15 +00:00
Julian Smart
be326aad64 Less drastic compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 10:37:21 +00:00
Włodzimierz Skiba
a305d600e2 Blind fix for Tinderbox build error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 10:29:23 +00:00
Julian Smart
9da34e211e ShouldOffset is accessed from a different class (in dcgraph.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 10:07:20 +00:00
Włodzimierz Skiba
bae2dc62af Updated setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:58:56 +00:00
Julian Smart
e642beb2b9 Added dcgraph.cpp and rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:51:13 +00:00
Włodzimierz Skiba
2835f3cf83 Correct placement of header listed in wx/wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:40:14 +00:00
Julian Smart
3c1669aaa3 Using MinGW 3, no hbmpItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 09:05:02 +00:00
Julian Smart
e27e3a51b0 Added missing include for MinGW non-PCH compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:51:35 +00:00
Julian Smart
f27372556d Added a cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:33:38 +00:00
Stefan Csomor
1c69a6ff5a fixing param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:21:19 +00:00
Julian Smart
d8dd214c1b Fixed initialisation order warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:05:18 +00:00
Julian Smart
cbfc8d9a61 Typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 08:02:00 +00:00
Stefan Csomor
40503c9835 adopt new set font API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 07:44:07 +00:00
Stefan Csomor
b7b40adba8 new renderer architecture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:51:12 +00:00
Julian Smart
720cc10ac4 Added outline style sample and vetoing of style sheet changing when loading;
demos URL event


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:35:57 +00:00
Julian Smart
d2d0adc776 Added URL support to attribute objects and to wxRichTextCtrl,
generating a wxTextUrlEvent as appropriate.
Added outline list support and updated previews.
Added alignment support for bullets.
Added single right parenthesis support.
Added XML stylesheet reading/writing.
Changed SetBulletSymbol to SetBulletText so it can support
bullet text more generally (e.g. for cached outline list numbering)
Added wxRichTextRenderer to isolate e.g. bullet drawing and make
it customisable.
Added event handler support to wxRichTextBuffer.
Updated documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:32:47 +00:00
Stefan Csomor
a60a549995 adapted to new font setter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:25:41 +00:00
Stefan Csomor
facbe36395 adapted to new renderer, moved wxGCDC into dcgraph.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:24:20 +00:00
Stefan Csomor
5ebfdf4169 added the recangle fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:21:57 +00:00
Stefan Csomor
9e6055389f renderer added, creating renderer specific pens etc for faster use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:17:05 +00:00
Stefan Csomor
c5e5145288 add the missing defines before the xcode prefix gets read in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:08:59 +00:00
Stefan Csomor
1b89a5cd94 move the graphics context bridge dc into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 06:07:29 +00:00
Robin Dunn
51aad6d34f Add a GraphicsContext sample to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:34:54 +00:00
Robin Dunn
be68621e1e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:33:56 +00:00
Robin Dunn
752d967cfd GetTextExtent --> (width height)
GetFullTextExtent --> (width, height, decent, externalLeading)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:32:59 +00:00
Robin Dunn
0a012f770e docstring update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:28:14 +00:00
Robin Dunn
59571b718e Fix "PINK" to actually be pink, and not lavender
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:26:57 +00:00
Kevin Ollivier
5b2c144640 Adding virtual wxListCtrl impl of GetItem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 03:01:38 +00:00
Robin Dunn
2742805a62 SetTextColor --> SetTextColour
Make sure SWIG knows that items returned fro the factories are new
Fix the save a ref to the dc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 01:21:47 +00:00
Robin Dunn
bb8204ef82 SetTextColor --> SetTextColour, to be consistent with the rest of the lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 01:19:00 +00:00
Kevin Ollivier
ccd67a6af8 Override GetPixelSize on OS X as the base impl creates a wxScreenDC each time, which causes a significant performance hit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 00:22:56 +00:00
Vadim Zeitlin
4fa3f8c355 explain more clearly the possible usage scenarios
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 00:20:12 +00:00
Robin Dunn
61ecd22547 some GTK1 bulkd fixes from Sander Niemeijer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:47:15 +00:00
Michael Wetherell
55420742a1 Add class factories for filter streams. Also filters now follow the convention
that they own their parent if they are created on a pointer to the parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:45:15 +00:00