Commit Graph

9500 Commits

Author SHA1 Message Date
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