Commit Graph

36207 Commits

Author SHA1 Message Date
Julian Smart
97ff49b383 Added a customisable formatting dialog for wxRichTextCtrl. Control the
visible tabs with flags passed to the constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:05:17 +00:00
Julian Smart
ebf0a02930 Added a symbol selection dialog, with optional font selection and full
Unicode range with subranges.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:04:18 +00:00
Julian Smart
86015e55eb Added option to set style from style listbox when single
clicking or not. Changed DoSelection name to ApplyStyle.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:02:28 +00:00
Julian Smart
7b907278ef Support for characters below 32 (not supported as text or
entities by XML)
Support for symbol font


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:01:42 +00:00
Julian Smart
27507b618a Use paragraph's attributes for paragraph-related styles, and also
use combined attributes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:00:55 +00:00
Julian Smart
3e3a754f9c Don't use double buffering on platforms that do it automatically.
Filters out unrecognised keycodes in OnChar, and added numeric
keypad navigation keycodes.

Added SetStyleEx which takes flags for specifying option such
as optimization (only apply necessary styles), char/para style
only, and use undo. Used SetStyleEx when applying styles to
avoid applying character styles to paragraph objects, and vice versa.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:00:04 +00:00
Julian Smart
59509217cd Added paragraph symbol font (Get/SetSymbolFont in attribute)
and use this font instead of paragraph font if specified.

wxRichTextBuffer::SetStyle extended to respond to flags for
specifying undo, optimization (only apply the style necessary
for display when content/base/paragraph attributes are combined),
and para/character styles only.

wxRichTextBuffer::GetStyleForRange gets the common attributes
for a range, e.g. for showing common attributes in a formatting
dialog.

Implemented Roman numeral bullet points.

Fixed wxRichTextImage copy bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:59:07 +00:00
Vadim Zeitlin
730654eeab don't use 8 bit copyright symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:49:21 +00:00
Vadim Zeitlin
9b82d31bdd Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:44:32 +00:00
Vadim Zeitlin
e5b41495b4 rebaked with aboutdlg.* files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:10:06 +00:00
Vadim Zeitlin
a11a0ead4a added GTK+ 2.6 implementation of wxAboutBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:08:51 +00:00
Julian Smart
1deb3af2fd Added missing image.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:01:18 +00:00
Vadim Zeitlin
5067131185 test credits in about dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:53:44 +00:00
Vadim Zeitlin
319c5ed4d2 added --enable-aboutdlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:21:57 +00:00
Vadim Zeitlin
d12f1282d4 reformat and add files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:11:47 +00:00
Vadim Zeitlin
fd3f8f5cf5 added native Mac implementation of wxAboutBox(); also moved aboutdlg.* files from core to adv library as they depend on wxHyperlinkCtrl which is in adv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:07:03 +00:00
Vadim Zeitlin
affebd0a6e use wxSTRINGIZE_T instead of _T(wxSTRINGIZE())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:11:48 +00:00
Vadim Zeitlin
1a1ecce631 use wxVERSION_NUM_DOT_STRING_T instead of wxVERSION_NUM_DOT_STRING to fix the Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:10:41 +00:00
Vadim Zeitlin
860037d1ed added Unicode-friendly variants of version string macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:09:42 +00:00
Vadim Zeitlin
84206bbb32 added Unicode-friendly wxSTRINGIZE_T()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:07:55 +00:00
Vadim Zeitlin
8037b674e8 use wxSTRINGIZE instead of redefining a special STRINGIZE in this file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 10:59:16 +00:00
Paul Cornett
452418c4b0 Move some things to wxBitmapBase to avoid much duplication.
Use proper const for XPM data, and const void* for arbitary bitmap data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 08:04:49 +00:00
Robin Dunn
9ce05df4bc return values of overloaded virtuals should match the base class version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 06:42:09 +00:00
Robin Dunn
e6fd62dd84 Override CreateItem so wxListBox can turn its notifications into events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 06:37:50 +00:00
Vadim Zeitlin
ae50b288e0 added wxAboutBox-related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:21:28 +00:00
Vadim Zeitlin
d217618146 added wxUSE_ABOUTDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:20:38 +00:00
Vadim Zeitlin
cfa6437081 use the main frame icon if no icon is explicitely specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:19:31 +00:00
Vadim Zeitlin
ca7adbf8bc initial implementation of wxAboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:02:04 +00:00
Vadim Zeitlin
9211cf3c43 added wxUSE_ABOUTDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:59:09 +00:00
Vadim Zeitlin
fee9bb24d9 fixed VC warning about unreachable code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:35:44 +00:00
Vadim Zeitlin
33ad028c01 ignore the other WXDLLIMPEXP_XXX and not only BASE one too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:03:49 +00:00
Robert Roebling
aa0576fe9f Some more explanations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 21:38:46 +00:00
Robert Roebling
b19add95cd More docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 20:58:47 +00:00
Robert Roebling
68d7c6427b Two more typos.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 20:36:08 +00:00
Paul Cornett
3a7af48f21 small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:49 +00:00
Paul Cornett
2365667381 some cleanup, and plug a few small holes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:11 +00:00
Robert Roebling
314cd032db Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:44:31 +00:00
Robert Roebling
91506eb056 Include wxDataViewCtrl in list of controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:38:40 +00:00
Robert Roebling
7518ae3445 Include dataview docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:36:44 +00:00
Robert Roebling
b6b9d5562c Add docs to wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 17:34:00 +00:00
Robert Roebling
1286b7ba6c Not everything has to be virtual.
Made short cuts for adding columns more useful.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 14:15:53 +00:00
Robin Dunn
cc30c63a4c rename the ID parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 23:21:07 +00:00
Vadim Zeitlin
4c268e6a10 fix for handling from Francesco
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 22:37:03 +00:00
Robert Roebling
4846890010 Return toolbars "own" GdkWindow, required among
others for mouse event reporting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 21:49:10 +00:00
Robin Dunn
846c181ba2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 20:08:33 +00:00
Robin Dunn
8feec28c87 Renamed wx.FutureCall to wx.CallLater so it is named more like
wx.CallAfter.  wx.FutureCall is now an empty subclass of wx.CallLater
for compatibility of older code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 19:56:57 +00:00
Robin Dunn
567a5f982b be able to switch between the frame managing the toolbar, anbd putting
it in a sizer instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 19:55:31 +00:00
Robin Dunn
75c39820b8 some tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 19:54:48 +00:00
Robin Dunn
7f3450784c more informative assert message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 17:14:39 +00:00
Paul Cornett
7002950658 make pixbuf/alpha handling more coherent in gtk wxBitmap, allow pixbuf without alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 16:34:45 +00:00