Commit Graph

36243 Commits

Author SHA1 Message Date
Vadim Zeitlin
2da25e49e5 compilation fix after last commit (apparently patch was misapplied)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:52:21 +00:00
Vadim Zeitlin
f05b5b774f moved wxUSE_MS_HTML_HELP back into setup_inc.h (undoing change of rev 1.41) as it's needed for configure builds too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:48:48 +00:00
Vadim Zeitlin
7ddc93433c add test for ChangeValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:38:14 +00:00
Vadim Zeitlin
9d3554339a testing whether signed char is greater than 127 is always false, cast it to unsigned first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:28:05 +00:00
Robert Roebling
f1e3914fde Bump version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 19:49:24 +00:00
Robert Roebling
cc66bf5af8 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 19:39:14 +00:00
Vadim Zeitlin
28fdd8db44 added wxTextCtrl::IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:52:39 +00:00
Vadim Zeitlin
f6519b40fe added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Vadim Zeitlin
1d6fcbcc70 added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Václav Slavík
982a44cc9f re-added wxUSE_MS_HTML_HELP to setup.h.in once again, it *IS* needed for mingw and cross-compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:19:37 +00:00
Vadim Zeitlin
2acac1b415 avoid bitmap distortion when a non standard bitmap size is used (replaces patch 1477883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:18:12 +00:00
Robert Roebling
11012f4712 New magic number for positioning the tree triangle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:31:32 +00:00
Vadim Zeitlin
844b9f5fd2 corrected last commit: Inflate() should be Deflate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:30:54 +00:00
Julian Smart
3ba6891d6a Strip menu codes out from notebook page labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 16:00:43 +00:00
Paul Cornett
98d6e4b475 small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:59:56 +00:00
Robert Roebling
1efad474fd [ 1572220 ] Show popup when wxComboCtrl image area clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:59:53 +00:00
Paul Cornett
cb62a16afb revert last change, plus small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:59:15 +00:00
Julian Smart
a277deba22 It's valid to pass wxNOT_FOUND to SetSelection in order to clear selections.
Avoid assert and erroneous setting of -1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:54:40 +00:00
Paul Cornett
8adefcac72 restore needed functions, wxMSW doesn't use wxBitmapHandlerBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:54:02 +00:00
Vadim Zeitlin
a01446c519 compilation fix for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:50:48 +00:00
Vadim Zeitlin
f2ea42557b add support for wxCONTROL_ISDEFAULT to wxRendererMSW::DrawPushButton() (modified patch 1572887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:49:52 +00:00
Robert Roebling
34c07b8b63 [ 1573138 ] small docs corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:49:36 +00:00
Vadim Zeitlin
cfd8e74094 (probably wrong) fix for wxMSW linking errors introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:44:20 +00:00
Vadim Zeitlin
09138926b1 added wxAboutDialogInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:18:19 +00:00
Vadim Zeitlin
20d9c24a6f add an newline between headers in wxGenericAboutBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:17:14 +00:00
Vadim Zeitlin
9948db2bf3 close the dialog when close button is pressed, this is apparently needed by older GTK+ versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:15:32 +00:00
Vadim Zeitlin
c2709a3dd7 document wxAboutBox &c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 15:12:54 +00:00
Julian Smart
c147c966df Added missing include and missing underscores
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:35:07 +00:00
Vadim Zeitlin
89fad939ec added empty virtual dtors to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:34:37 +00:00
Vadim Zeitlin
6225e6e111 we need to set URL hook for the link to appear as a link in GtkAboutDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:31:52 +00:00
Vadim Zeitlin
fb4f85bf8f use translators if explicitely specified, fall back to the standard translator-credits from message catalog otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:23:39 +00:00
Julian Smart
fab0d366b1 Added formatting and symbols dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:16:50 +00:00
Julian Smart
8c9c49a11a Demonstrate new formatting and symbol dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:13:03 +00:00
Vadim Zeitlin
453c9e3b0b added example of customizing the generic about dialog and renamed wxAboutDialog to wxGenericAboutDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:12:59 +00:00
Julian Smart
cd5dc5e628 Added rich text formatting and symbol dialog files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:12:00 +00:00
Vadim Zeitlin
36183141c6 fixed double free crash introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:10:58 +00:00
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