Commit Graph

9770 Commits

Author SHA1 Message Date
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
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
Vadim Zeitlin
2cbf701441 1. We don't need GetTopLevelParent() here, we already have wxGetTopLevelParent()
2. Don't hardcode button id in the generic version
3. Don't include unneeded headers from the header


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:23:12 +00:00
Vadim Zeitlin
550d433e52 cleanup (mainly wrapping lines to be < 80 chars); added IsExpanded()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:10:07 +00:00
Vadim Zeitlin
3c1f8cb1f5 initial draft of wxCollapsiblePane (patch 1577412 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:28:37 +00:00
Vadim Zeitlin
9ebb7cade2 added wxSimpleHtmlListBox (patch 1576109 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:09:16 +00:00
Vadim Zeitlin
f4aa7ec32b small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Vadim Zeitlin
06077aaf2c add alt popup window style allowing to use keyboard and comboboxes in the popup window and use it for the generic date picker (patch 1582391 from Jaakko)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:25:08 +00:00
Stefan Csomor
2070a4f314 adding path accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:28:31 +00:00
Stefan Csomor
8ddf8e829a adding wxobject and RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 17:52:23 +00:00
Vadim Zeitlin
3abcfa9b7f make install location autodetection work for executables compressed with (latest version of) UPX under Linux (patch 1565357)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:19:50 +00:00
Vadim Zeitlin
85fa9d60c4 use wxComboCtrl instead of custom popup window (patch 1575343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:15:46 +00:00
Vadim Zeitlin
c4a34cf8c5 call Init() from wxBufferedDC ctors to ensure that layout direction is inherited in any case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:04:28 +00:00
Vadim Zeitlin
b1ed79a980 inherit the original layout direction (patch 1554810); also refactored a little to reduce code duplication and added a couple of wxCHECKs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:00:58 +00:00
Paul Cornett
b687dd2fc1 wxGraphicContext --> wxGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:00:11 +00:00
Paul Cornett
fd8bb4662a wxGraphicContext --> wxGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:46:33 +00:00
Robert Roebling
ddb0ed69a9 Fix warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:22:07 +00:00
Stefan Neis
d9c9196e34 Corrected port name used in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 17:19:11 +00:00
Vadim Zeitlin
e4164aa980 filter out duplicate date changed events sent by the native control (part of bug 1482773)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:29:33 +00:00
Vadim Zeitlin
e7e9ac91c2 one more correction to wxCondition::WaitTimeout() return code: don't overwrite err with the semaphore wait result (bug 1387179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:06:11 +00:00
Vadim Zeitlin
194b226768 also define wxLstat for non-Unix platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:45:40 +00:00
Vadim Zeitlin
ee8d76ec2e also define wxLstat in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:42:17 +00:00
Vadim Zeitlin
56614e51f9 added wxLstat() (one of patches from bug 1052385)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:41:20 +00:00
Robert Roebling
9e29cd0a28 [ 1581391 ] wxAnimationCtrl XRC handler
(most of)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:59:25 +00:00
Robert Roebling
8e458bb539 [ 1580776 ] wxAnimationCtrl::SetInactiveBitmap
Additionally call UnShare() in it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:51:38 +00:00
Stefan Csomor
8acd14d177 untangling dc and gc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:37:42 +00:00
Robert Roebling
8f3f46357d Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 12:23:49 +00:00
Robin Dunn
be01a40397 use consistent names (Graphic vs. Graphics)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:15:33 +00:00
Robin Dunn
54eb75b5fb Forward SetFont, SetBackgroundColour and SetForegroundCOlour to the
generic listctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 01:12:57 +00:00
Stefan Csomor
513b47e9b7 screendc implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:50:48 +00:00
Stefan Csomor
bf2185eb8b new method needed for screendc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 20:46:07 +00:00
Stefan Csomor
4a4ab1b6a8 adding same methodname as gtk and msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:12:23 +00:00
Julian Smart
f089713f9e Added the ability to use built-in bullet styles, currently standard/circle or standard/square.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 13:04:12 +00:00
Vadim Zeitlin
73a0b98c1b define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 11:32:30 +00:00
Stefan Csomor
cd7d36c065 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:56:36 +00:00
Stefan Csomor
6ff41b1697 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 10:27:41 +00:00
Stefan Csomor
24a7b71889 replacing old core graphics with new graphics context implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:34:11 +00:00
Vadim Zeitlin
90c0f63a83 define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:16:41 +00:00
Włodzimierz Skiba
e8f5bc9b5c Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 08:43:39 +00:00
Włodzimierz Skiba
41a852156f Whitespaces and headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 07:48:31 +00:00
Stefan Csomor
774f4d1221 start using wxGraphicsContext for OS X instead of old core graphics implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 06:27:58 +00:00
Paul Cornett
91641d0443 Remove unnecessary size members from GtkPizzaChild.
Move some declarations out of header.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 05:47:15 +00:00
Robin Dunn
81bfc17cc6 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 23:24:08 +00:00
Julian Smart
8987e7d6e8 Added missing WXDLLIMPEXP_RICHTEXT symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 19:55:49 +00:00
Julian Smart
bcedac4469 Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:56:40 +00:00
Stefan Csomor
8946d7fd68 using graphics context for core graphics switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 15:04:32 +00:00
Vadim Zeitlin
b098b62129 extracted wxGtkString in a separate file, it's also needed by wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:42:01 +00:00
Vadim Zeitlin
b886fae648 Main change is that we now close X11 display on program exit: as this couldn't
be done in wxApp dtor (too early), a special module had to be created for it
and module dependencies added for the other modules which have to be cleaned
up while the display is still open.

Also a few minor formatting changes and removed a couple of unused variables
from wxApp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:39:53 +00:00
Julian Smart
dadd4f5523 Added a list style editor page to the formatting dialog.
Added a style organiser dialog, which can be used to browse
for and apply styles and can be limited to show one of
the three style types, or all three.
Added a font name cache since it's an expensive operation
that's used frequently by the rich text dialogs.
Added ability to switch off tooltips for new dialogs
(off by default). Improved the previews. Pressing tab or shift-tab
at the start of a list item now demotes or promotes the item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:04:13 +00:00
Vadim Zeitlin
0c7e0a8771 added newline at end of file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 13:09:48 +00:00
Robert Roebling
d65fd4e93f Made wxStreamBase::IsOk() virtual;
Overrride in file streams to test foe base class and
    for correctly opened files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 12:30:59 +00:00
Mart Raudsepp
2649725398 Include defs.h before including wxchar.h to make init.h self-contained (able to include this header in
applications as the only one).
Before with only include wxchar.h it was missing ATTRIBUTE_PRINTF and other things due to wxchar.h not including
defs.h because of defs.h including wxchar.h itself.
We probably don't need to include wxchar.h anymore in init.h then, but I don't want to rely on wxchar.h being
always included from defs.h (if we can rely on that, please change if appropriate)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 07:43:24 +00:00
Kevin Ollivier
448f8f12b9 Several wxWebKitCtrl enhancements/fixes. Including:
- new methods for increasing/decreasing text size, getting selection, getting/setting scroll position, printing, enabling editing, and running JavaScripts on the page.

- added new event (wxWebKitBeforeLoadEvent) for catching, and possibly vetoing, load events before they occur.

- wxWebKitCtrl now fires mouse events for certain events that it was eating before. This improves wxSplitterWindow resizing behavior.

- refactoring of the sizing logic to move the Cocoa view. I've tested this with splitter windows, panels, notebooks and all position correctly with this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:40:23 +00:00
Robin Dunn
77f62aa7b6 Patch #1579801: wxBufferedDC shared buffer bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 22:36:36 +00:00
Robert Roebling
88bbc3329b Test for KDE and GNOME using session manager vendor.
Use it in mime types initialization.
   Add wxUSE_DETECT_SM


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 21:55:54 +00:00
Paul Cornett
5f8047a69b use generic wxAnimationCtrl in wxGTK-universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-18 03:32:52 +00:00
Robin Dunn
fd39f7a893 Add impl for IsFrozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:50:03 +00:00
Włodzimierz Skiba
1b88201ff5 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Julian Smart
38f833b10c Added list style to text attributes, independent from paragraph style
Added list style definition
Added SetListStyle, ClearListStyle, NumberList, PromoteList to
buffer and control classes
Changed style listbox so double-click applies style instead of
single click. This allows for multiple items to be applicable,
and also in future to edit styles from this listbox without
accidentally applying the style to content.
Added wxRichTextStyleListCtrl which also shows a wxChoice for
selecting the type of style to display.
Style sheets can form a chain to allow inheritance from current
style sheet (not yet supported by style list controls).
Added PushStyleSheet/PopStyleSheet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:09:14 +00:00
Paul Cornett
fd7a7443bc use common AllocExclusive, rather than custom code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 04:20:47 +00:00
Paul Cornett
e3e89a9370 implement {Create,Clone}RefData for gtk wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:19:20 +00:00
Paul Cornett
93c5f7558e add public wxObject::UnShare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:18:28 +00:00
Robin Dunn
52e22a61ce Compile fix: forward decalare wxFloatingPane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:56:58 +00:00
Robert Roebling
bc429ce01f [ 1578466 ] Support for custom floating panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:36:11 +00:00
Robert Roebling
fa96a36ecf [ 1578468 ] full support for "destroy on close" flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:27:37 +00:00
Robin Dunn
f1d6804f7c Add wxRichTextModuleInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:12:17 +00:00
Włodzimierz Skiba
1c4e8f384d CVS tags cleaning (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:30:01 +00:00
Robert Roebling
e60022505d I don't think anylonger that DrawHeaderButton() should
be used for drawing grid row/col buttons. Also, the
   GTK2 port should not waste space per line of wxMSW
   doesn' waste it neither.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:44:39 +00:00
Paul Cornett
fc964c0d23 probable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:03:36 +00:00
Mattia Barbon
653752be8a Added wxRTTI macros to buffered DCs.
Fix a signed/unsigned warning.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:45:13 +00:00
Stefan Csomor
fe63cfad2b adding missing typedefs for 10.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:57:03 +00:00
Stefan Csomor
cdac585c3b availability does not include any other headers, but it provides the necessary macros everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:46:49 +00:00
Paul Cornett
af05af4d87 store GtkPizza border width in GtkContainer.border_width, eliminate GtkPizza.shadow_type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:36 +00:00
Paul Cornett
50679f941e correct access for virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:50:04 +00:00
Stefan Csomor
eb89f88a43 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:55:46 +00:00
Stefan Csomor
8c9fd6e54e cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 14:46:31 +00:00
Robert Roebling
db71eb0640 Better place for coordinate mirroring and removal
of stupid hack.
  This makes the positioning correct in the end but
    leaves window hopping when resizing unsolved
    in RTL mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:06:50 +00:00
Robin Dunn
19c9f36f13 Reverted wxBuffered[Paint]DC to nearly the pre 2.7.1 state, kept
wxAutoBufferedPaintDC and added wxAutoBufferedPaintDCFactory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:14:21 +00:00
Robin Dunn
6850c57605 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 19:01:02 +00:00
Robin Dunn
432efcb004 wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:48:36 +00:00
Julian Smart
cfa3b25626 Fixed tab selection bug
Slight improvement to kerning-related jumpy text when selecting
Default tab efficiency improvement and naming conventions cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 14:30:40 +00:00
Stefan Csomor
820716c69f removing double definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 11:59:04 +00:00
Stefan Csomor
c819dcf7d3 setting according to a minimum system of 10.3 and supporting 64 bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 11:58:02 +00:00
Robert Roebling
eda276b092 Remove method GetWindow() returning a GdkWindow*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 09:16:22 +00:00
Robin Dunn
f98bd6d6cf Fixup Blit so it can be used with a source that is a wxBufferedDC,
since wxBufferedDC doesn't derive from wxMemoryDC any more.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 06:23:52 +00:00
Robin Dunn
8c0c419677 Don't include platform headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 23:46:02 +00:00
Vadim Zeitlin
475a93b76a moved GetLayoutDirection() to GUI wxApp, it has nothing to do in wxAppConsole
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 22:34:53 +00:00
Kevin Ollivier
3fd864a139 Implementing column click event handler and SortItems function for native list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 20:04:29 +00:00
Robert Roebling
6862383251 Anim doesn't depend on GIF, remove wxUSE_GIF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 19:24:33 +00:00
Robert Roebling
fe37cbd46f Use native version of wxAnimateCtrl only for
GTK >= 2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 17:59:40 +00:00
Julian Smart
2a6c3e2566 Added back necessary defines 'cleaned' away. If folks could resist the urge to delete
them again, I'd be much obliged. We can change the symbol name if necessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 16:28:35 +00:00
Robert Roebling
05a98b6d5d Fix part of [ 1570325 ] wxAnimationCtrl for wxAdv library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 16:09:39 +00:00
Stefan Csomor
4731b3ab86 adding events on kill-focus (Robert's Patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 09:20:34 +00:00
Vadim Zeitlin
6c1465efb7 allow customization of individual grid lines appearance (patch 1496015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Paul Cornett
42eba91294 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 03:00:07 +00:00
Paul Cornett
50961a3571 and more inlines called before defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 02:41:07 +00:00
Stefan Csomor
e412f8928f adding overlay implementation for core graphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:09:01 +00:00
Paul Cornett
e07c114691 correct DLL attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:35:49 +00:00
Paul Cornett
c16b9bfe69 more inlines called before defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:33:49 +00:00
Julian Smart
1807a1f3cf Return type change
Added support for help button to formatting dialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:01:36 +00:00
Włodzimierz Skiba
24ff756145 WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 13:46:23 +00:00
Chris Elliott
7e176c2472 remove stray ; which broke compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 11:05:10 +00:00
Włodzimierz Skiba
0d80fb3122 #incldue fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:39:46 +00:00
Vadim Zeitlin
8b56b16aca removed spaces; added WXDLLEXPORTs; make overlay classes non copiable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:29:41 +00:00
Stefan Csomor
861410228d overlay implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:28:04 +00:00
Robert Roebling
5fa150e233 Added part of patch
[ 1573619 ] Fix for Reentrance problems in events
  in slightly modified form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:28:00 +00:00
Vadim Zeitlin
6ae7410f55 added wxDC::Set/GetLayoutDirection() and implemented it for wxMSW (patch from Tim Kosse)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:31:23 +00:00
Włodzimierz Skiba
d18868bb9b Use wxUSE_* flags for new animation code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 08:16:34 +00:00
Włodzimierz Skiba
3a0c45985d Updated Univ setup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:22:51 +00:00
Paul Cornett
a4adcc439d correct DLL attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:11:26 +00:00
Paul Cornett
8e7cb70ce3 fix warnings about calling an inline function before it is defined inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:10:54 +00:00
Paul Cornett
c2f12218ce wxAnimationCtrl cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 04:27:54 +00:00
Vadim Zeitlin
6304d5b49b fixed crash in wxColour ctor after RGBA-ization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 23:44:00 +00:00
Robin Dunn
943d32e1c6 DLL build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 23:13:45 +00:00
Vadim Zeitlin
31189345e1 use native toolbar, font dialog and CG by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 22:56:48 +00:00
Vadim Zeitlin
deb325e3b2 avoid conflict between wxBookCtrlBase::DoSetSelection() and the derived classes; refactor more common code into the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:29:12 +00:00
Vadim Zeitlin
97ebfd549b added more helper functions for setting borders in wxSizerFlags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:11:37 +00:00
Vadim Zeitlin
25eb10d2e1 added CreateSeparatedButtonSizer(), changed signature and semantics of CreateButtonSizer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 21:10:22 +00:00
Robert Roebling
8e9ec7239f [ 1573855 ] Improved appearance of wxComboCtrl's wxTextCtrl
More work needs to be done for the version with
 images.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:12:19 +00:00
Robert Roebling
ff1dadae38 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:33:13 +00:00
Vadim Zeitlin
2be7beda2d added wxSizerFlags::GetDefaultBorder()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 19:32:46 +00:00
Vadim Zeitlin
72045d5768 added wxAnimationCtrl (patch 1570325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Robin Dunn
b85db900cd DLL build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:56:18 +00:00