Commit Graph

37072 Commits

Author SHA1 Message Date
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
Robin Dunn
7e04993c66 corrected collpaneg.h name typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:04:06 +00:00
Václav Slavík
686ca1b5d4 use window's font instead of the default one in wxStatusBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 18:14:08 +00:00
Robert Roebling
3811dacb39 Prevent accession of to-be-deleted mdi
child window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 17:51:28 +00:00
Julian Smart
43a9ab2f1b wxRichTextCtrl not ready for WinCE yet, stop people fiddling with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 17:09:46 +00:00
Włodzimierz Skiba
c01075e580 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 16:46:54 +00:00
Włodzimierz Skiba
37702a44db Make wxRichTextCtrl again buildable on WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 15:50:15 +00:00
Robert Roebling
b014db05bb Add m_fsStyle next to m_windowStyle
Add HasFdFlag()
  Use it for all tests in all variants of
    wxFileDialogs. That way it will be easier
    to change again centrally, if required.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 13:26:47 +00:00
Michael Wetherell
14d8546a75 Fix export.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 12:24:28 +00:00
Václav Slavík
69a5bc231a changed wxHAS_NATIVE_OVERLAY and wxHAS_CARET_USING_OVERLAYS to use #ifdef instead of #if ... == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 12:12:56 +00:00
Vadim Zeitlin
4876ba0b23 declare wxMSLU_xxx functions in the headers which define macros expanding to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 11:27:24 +00:00
Jouk Jansen
273d399f0f Committing in .
Update configuration for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 10:19:28 +00:00
Julian Smart
2981fc8337 Button size adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 09:04:59 +00:00
Julian Smart
a2351b3fe4 Don't reset the best size to wxDefaultSize unless we have a bitmap, otherwise
an explicit size is ignored


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 09:03:45 +00:00
Julian Smart
892a76f771 Better button size on wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 08:49:50 +00:00
Robert Roebling
980fa7ef7d Fix test for wxFD_MULTIPLE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 07:34:15 +00:00
Robin Dunn
8377a10750 Fix for missing About menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 07:31:46 +00:00