Commit Graph

9591 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Robin Dunn
de3cb39f85 Refactor the code that decides if the 0.5 offset chousl be applied
into its own method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:55:17 +00:00
Włodzimierz Skiba
93076559ba ADV export fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:47:14 +00:00
Kevin Ollivier
e9a0cc4b72 Adding support for item font/style/color customization, unfortunately, it does not work with wxLC_EDIT_LABELS due to a limitation in the native control. Also fire activate events, and fix some event object/id mismatches when using the generic list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 05:42:54 +00:00
Vadim Zeitlin
20ed1e94d6 use manifest id of 2 if ISOLATION_AWARE_ENABLED is defined (bug/feature request 1222189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:56:50 +00:00
Vadim Zeitlin
70bf61807a define WXDEBUG_NEW to use special VC++-specific new version too (closes 1386286)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:19:12 +00:00
Robin Dunn
00b3a749fa use WXDLLIMPEXP_ADV on the base class too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 19:46:10 +00:00
Vadim Zeitlin
cd98317518 wxCollapsiblePaneEvent is in adv library, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 17:44:13 +00:00
Paul Cornett
4c44e0d048 correct access for virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:44:26 +00:00
Paul Cornett
132025f344 wx/window.h not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:43:45 +00:00
Julian Smart
459dbfc0f1 Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:32:08 +00:00
Julian Smart
38aa6e420c Must define a symbol to test its value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:17:13 +00:00
Julian Smart
78ce938eb8 Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:02:38 +00:00
Julian Smart
147bf2639f Added creation of printer DC to printer factory.
Added wxPrintData ctor to wxGnomePrintDC.
Added wxGnomePrintPreview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 15:41:39 +00:00
Julian Smart
ecf9559d57 Added GetTempDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 14:26:00 +00:00
Włodzimierz Skiba
f5766910b6 non-PCH build fix (according to Tinderbox).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 13:50:19 +00:00
Václav Slavík
30c841c84d moved wxOverlay into overlay.* files and out of dc.h/dcbase.cpp; implemented wxOverlay for wxDirectFB port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 12:29:14 +00:00
Vadim Zeitlin
1ad688c96f test that _INTEGRAL_MAX_BITS is defined before comparing with it; changed wxHAS_HUGE_FILES to be either defined or undef'd for consistency with the other wxHAS_XXXs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 12:08:05 +00:00
Włodzimierz Skiba
abbe3d379e ADV export fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 10:35:44 +00:00
Michael Wetherell
66ad27db7b Fix check for wxUSE_BACKINGFILE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 07:29:05 +00:00
Paul Cornett
360c6a852d non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 03:25:15 +00:00
Robin Dunn
18fc605924 Pass the config object into the wxHtmlHelpFrame so it has the config
info in time to set the position and size of the frame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 01:16:18 +00:00
Vadim Zeitlin
1a9a3ce9a3 use wxBitmap object as m_buffer and not a pointer to it (replaces patch 1582878)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 22:06:01 +00:00
Michael Wetherell
82b99cf952 Rename WX[F]FILE_LARGEFILE to wxHAS_LARGE_[F]FILES.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:46:13 +00:00
Vadim Zeitlin
dedcebb9df try to simplify the web of ifdefs; add Borland to the list of Windows compilers (partially addresses bug 1173702)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 20:39:09 +00:00
Robin Dunn
f2b79dadee Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 20:15:41 +00:00
Julian Smart
8d7d6deac6 Added GetTempDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 17:47:02 +00:00
Michael Wetherell
7d45ec4aa1 Added wxBackingFile and wxBackedInputStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:45:51 +00:00
Michael Wetherell
1fbab161c6 Correct comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 14:49:41 +00:00
Michael Wetherell
f8f6c91a0f Added wxBackingFile and wxBackedInputStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 14:47:07 +00:00
Michael Wetherell
b70a2866d5 wxFileName::CreateTempFileName changes. Open the tempfiles read/write. Allow
self delting temp files to be created, where the OS supports it. Add support
for opening wxFFile temp files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 13:10:12 +00:00
Michael Wetherell
3d3c6c4518 Add WXFILE_LARGEFILE/wxFFILE_LARGEFILE to indicate whether large files are
supported by wxFile and wxFFile. Add wxO_BINARY.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 12:51:00 +00:00
Włodzimierz Skiba
17b1d76b4a Correct 'markup' for GetResourceHandle after recent change in wx/gdiobj.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 11:58:28 +00:00
Julian Smart
d54b227fdf Fixed return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 07:06:11 +00:00
Vadim Zeitlin
4223cec504 avoid code duplication between the generic and GTK versions, factor the common code out in OnStateChange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:27:10 +00:00