Commit Graph

36938 Commits

Author SHA1 Message Date
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
Michael Wetherell
166c3ef0f9 Add class factories for filter streams. Also filters now follow the convention
that they own their parent if they are created with a pointer to the parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:41:12 +00:00
Robin Dunn
ceb40c80a1 Mention wx.ListCtrl fixes on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:25:58 +00:00
Robin Dunn
58cb01d1eb Show sample License text on the AboutBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:24:17 +00:00
Robin Dunn
b4b5a92e0b Don't override DoGetSize, just let the default return the real size of
the widget like normal.  Since the former implementation used
GetBestSize, which uses a DC, which on Mac calls window->GetSize, this
resulted in an infinite recursion.

Also use SetBestFittingSize in the ctor and move CacheBestSize to
DoGetBestSize where it belongs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:23:06 +00:00
Kevin Ollivier
64e4759f43 Fix wxBufferedDC so that it adheres to its documented behavior (which is in use in wxPython at least) and make a note about the layout direction assignment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:00:48 +00:00
Robert Roebling
974a12f86a [ 1584680 ] wxComboCtrl Popup Animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:48:46 +00:00
Robin Dunn
9985801dda HIShapeCreateEmpty doesn't exist prior to OSX 10.4, use
HIShapeCreateWithRect with an empty rectangle instead.

Also detabified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:08:14 +00:00