Commit Graph

9598 Commits

Author SHA1 Message Date
Vadim Zeitlin
76c3651293 don't use _INTEGRAL_MAX_BITS to decide whether a (Windows) compiler supports huge files, this fails with Borland, so test for all compilers explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 11:27:38 +00:00
Michael Wetherell
8fc574b40c Implement new features for finding class factories. Put seek inside 2.6 compat ifdef.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:54:39 +00:00
Michael Wetherell
1b79dad4dc Base class factory on the wxFilter base class and implement the new Find feature.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:53:38 +00:00
Michael Wetherell
52ad298e66 Allow per instance filesystem handlers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:35:05 +00:00
Michael Wetherell
dd1462c3f9 Add tar streams.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:28:54 +00:00
Julian Smart
c81c3d2db2 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:27:47 +00:00
Robert Roebling
a43ec16b16 Add empty EnableCloseButton() into wxTLW base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:12:35 +00:00
Michael Wetherell
26e422a9ad Add wxUSE_TARSTREAM and wxUSE_FS_ARCHIVE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 09:12:27 +00:00
Michael Wetherell
1ab48408d1 Add FindLength()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:54:00 +00:00
Robert Roebling
45f4109c41 Move the wxFD_... flags back into m_windowStyle
as requested. Add the list if flags, with which
    the wxFD_ flags have to cooperate into the
    header of wxFileDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:45:22 +00:00
Julian Smart
44219ff04f First cut at printing support for wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:43:44 +00:00
Robert Roebling
0d635035cc Add EnableCloseButton() as wxMSW does. Use it in
wxProgressDialog so that without wxPD_CAN_ABORT
    you cannot close the dialog.
  Closes [ 1585563 ] wxProgressDialog @ GTK CloseButton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:18:26 +00:00
Michael Wetherell
58211774c8 Factory some of wxFilterClassFactory into a base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:52:28 +00:00
Michael Wetherell
8c3dbc46b3 Add wxFS_SEEKABLE open flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 07:06:41 +00:00
Robin Dunn
0d3675a67b Detabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 05:31:59 +00:00
Michael Wetherell
37671b828a Add wxFilterFSHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 22:49:53 +00:00
Michael Wetherell
03402e2909 Change wxFSFile::DetachStream to NULL the m_Stream member. Add SetStream().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 22:45:52 +00:00
Michael Wetherell
a8d2cf4e70 Add wxFilterClassFactory::PopExtension().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 22:43:15 +00:00
Robert Roebling
bf7f7793e9 [ 1585253 ] Various important bugfixes to wxFileName::Normalize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 21:08:21 +00:00
Robert Roebling
30be036c6d Make animation of combo-popdown optional.
Replace wxMiniSleep() + wxYield() implemenation
    by wxTimer based one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 20:35:57 +00:00
Robert Roebling
470402b996 Rewrite selection event code for wxListBox.
Remove ifdef for non-native wxCheckListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 20:29:02 +00:00
Stefan Csomor
59720690df moving rounded rect and ellipse to path class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:24:18 +00:00
Vadim Zeitlin
2c614cac83 no need to include wx/msw/mslu.h from here any more, wx/msw/wrapwin.h does what it used to do now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 19:12:52 +00:00
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
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
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
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
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
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
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
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