Francesco Montorsi
d75a69e832
replace use of 'long/int bitmapType' with 'wxBitmapType bitmapType' in richtext and wxMemoryFSHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:40:33 +00:00
Julian Smart
1c13f06e4e
Added a wxRichTextCtrl-specific caret implementation in case of need
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 09:10:32 +00:00
Julian Smart
7051fa4161
Further wxRichTextCtrl performance improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 13:29:53 +00:00
Julian Smart
4f3d5bc061
Made performance acceptable for editing large paragraphs on low-powered machines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 14:39:33 +00:00
Julian Smart
109bfc88a4
Further optimizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 11:43:39 +00:00
Julian Smart
2f45f5545f
Further performance optimizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 15:01:33 +00:00
Julian Smart
31778480a9
Speeded up wrapping (again), this time using partial text extents.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 15:26:27 +00:00
Julian Smart
30bf763039
Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 14:05:44 +00:00
Francesco Montorsi
25af884d93
fix header files so that they can be included directly without generating 'undefined reference' errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 18:11:26 +00:00
Julian Smart
c2a4fabb14
Made wxRichTextCtrl cursors accessible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:54:55 +00:00
Julian Smart
6c0ea5130f
Don't take the previous paragraph style when deleting paragraph marker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:59:06 +00:00
Julian Smart
ab44f4bf4e
Fixed [ 1720130 ] A minor 'bug' or 'annoyance' with header file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:05:11 +00:00
Julian Smart
c025e094f4
Further fixes, for selected text display and new paragraph insertion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:49 +00:00
Václav Slavík
5d2788a3e2
removed unused SYMBOL_WXRICHTEXT.*_TITLE values that were only polluting translation files with untranslatable "titles" such as "wxRichTextBulletsPage"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 12:33:00 +00:00
Julian Smart
cd8ba0d9e4
Added a reset-buffer event to give an opportunity to set the default initial style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:14:44 +00:00
Vadim Zeitlin
c058cafa56
don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 13:21:39 +00:00
Julian Smart
97f3b1e939
Added event handler macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:23:31 +00:00
Vadim Zeitlin
17808a7596
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:21:31 +00:00
Julian Smart
f464ecc775
Reduction of includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 16:09:29 +00:00
Julian Smart
b6359a0785
Use wxStdDialogButtonSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-28 14:10:25 +00:00
Václav Slavík
615a8ae166
once again removed #ifdefs that conditionally included the exact same code on Mac and non-Mac, instead of having just one copy of it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:28:47 +00:00
Julian Smart
e18389820f
Corrected symbol for OS/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 08:04:25 +00:00
Julian Smart
d949570b66
Added missing include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-15 07:09:25 +00:00
Julian Smart
2fce654762
Border corrections, and more compact dialog sizes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:42:31 +00:00
Julian Smart
52170c5b44
Fixed context menu in wxRichTextCtrl
...
Added colour change event handler to wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:59:24 +00:00
Julian Smart
ce04fea594
Small usability improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:21:08 +00:00
Julian Smart
fe8b03618a
Make SaveFile and LoadFile virtual so they can be overridden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 19:56:38 +00:00
Julian Smart
44cc96a80c
Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
...
to wxRichTextBuffer to reduce wxFont consumption and increase performance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 11:20:36 +00:00
Vadim Zeitlin
f5851311d3
fix several mingw32 warnings (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:36:35 +00:00
Vadim Zeitlin
0ec1179b86
added wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor wxGTK code to put common parts of these classes in the base class; fixed some inconsistencies in the text control behaviour between platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:30:22 +00:00
Julian Smart
a047aff270
Added wxBORDER_THEME, wxWindow::GetDefaultBorderForControl(), wxWindow::CanApplyThemeBorder().
...
wxTextCtrl and wxSearchCtrl now get the correct border on wxMSW, and the wxRichTextCtrl sample
also now demonstrates correct borders.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:22:43 +00:00
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Julian Smart
125892b804
Init fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Vadim Zeitlin
a9b9495bc0
put #if wxUSE_FFILE && wxUSE_STREAMS around functions using wxFFileStream (patch 1721939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 10:59:56 +00:00
Vadim Zeitlin
e02c72fa45
fix new wxHVScroll code to build with WXWIN_COMPATIBILITY_2_8==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 13:55:36 +00:00
Julian Smart
aeb6ebe2a5
Added flag for removing attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 12:24:17 +00:00
Julian Smart
f262b25c93
Added extra hit test style for more accurate reporting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-28 16:57:07 +00:00
Julian Smart
61f84e2493
Process capture lost event to avoid assertion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-29 19:37:04 +00:00
Václav Slavík
574d48dbe4
removed #ifdefs that conditionally included the exact same code on Mac and non-Mac, instead of having just one copy of it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 01:33:09 +00:00
Robin Dunn
d8dd53b239
Fix compile error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 23:52:54 +00:00
Julian Smart
07b2748093
Correction to accessors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-30 13:50:12 +00:00
Julian Smart
486dd03abb
Styles now sorted alphabetically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-26 12:47:53 +00:00
Mattia Barbon
be6d15fbd3
Allow building when WXINTL_NO_GETTEXT_MACRO is defined.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 13:52:12 +00:00
Julian Smart
5c0a71a250
Added setters for print and page data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-22 17:11:53 +00:00
Włodzimierz Skiba
50f65288b1
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:50:19 +00:00
Vadim Zeitlin
336d8ae9a3
documentation for wxAppTraits (patch 1518295 from Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:20:18 +00:00
Julian Smart
ff76711fbe
Fixed a bug setting caret position after setting or clearing selection
...
Implemented forced line breaks within a paragraph, entered with Shift-Return.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 11:33:44 +00:00
Julian Smart
12cc29c56a
Small cleanup.
...
Set caret position when calling SetSelection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 22:27:48 +00:00
Julian Smart
5912d19ef7
Removed obsolete code
...
Added some more event types
Added back GetStyleForRange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 14:28:47 +00:00
Julian Smart
b774c69893
Added wxRICHTEXT_HANDLER_NO_HEADER_FOOTER to allow saving HTML fragments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:40:01 +00:00