Commit Graph

4883 Commits

Author SHA1 Message Date
Julian Smart
741c337588 wxRichTextCtrl::ApplyStyle now applies a paragraph style at the cursor
without needing a selection, and setting the default style now avoids duplicating
character attributes in subsequently typed text when they exist in the paragraph style.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-01 14:48:43 +00:00
Julian Smart
f9d3e8cfec Documented recent wxRTC fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-08-30 11:30:11 +00:00
Julian Smart
dbf712b607 GetStyleMergedWithBase no longer hangs if there's a loop implied by based-on styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-07 07:39:45 +00:00
Jaakko Salli
74589ae82f Backported from wx2.9: Greatly reduce rare animation garbage in wxOwnerDrawnComboBox drop-down animation (see #12087)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-03 15:25:41 +00:00
Jaakko Salli
f790864585 Interpret arrow keys correctly in wxMSW wxComboCtrl::IsKeyPopupToggle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-01 15:38:53 +00:00
Jaakko Salli
89e1f57475 Disable Vista/Win7-style wxComboCtrl rendering in wx2.8 by default (define wxUSE_COMBOCTRL_VISTA_RENDERING=1 to enable it), as it may cause subtle drawing bugs with custom wxComboCtrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-27 15:02:42 +00:00
Jaakko Salli
61f86808d1 Added change log entry about the wxComboCtrl focus draw change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-27 14:04:40 +00:00
Jaakko Salli
a01ef3cc40 Backported from wx2.9 improved wxComboCtrl/wxOwnerDrawnComboBox appearance under Vista/Win7. Should have been done years ago, really.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-26 14:54:27 +00:00
Julian Smart
270573834f wxRTC: fixed style selection reset after editing a style.
wxRTC: can now edit line spacing in .1 increments from 1 to 2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@64163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-27 16:16:21 +00:00
Julian Smart
656dd3e0c4 wxTE_PROCESS_ENTER isn't just for Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-24 11:32:58 +00:00
Julian Smart
e4db8a879f Simplify SetSelectionRange and make consistent with SetSelection.
Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found.
Fix SetSelection to position caret at end.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-01 12:07:28 +00:00
Chris Elliott
2d3b74a042 version to 2.8.11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 09:27:47 +00:00
Julian Smart
98e5829d41 Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps
a chance to initiate processing after a page is presented.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-25 18:47:47 +00:00
Jaakko Salli
ab1b239de2 Added entry on generic wxDatePickerCtrl keyboard navigation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-17 12:10:50 +00:00
Paul Cornett
ea4b3d8058 update docs for wxMAXIMIZE on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-16 04:14:18 +00:00
Vadim Zeitlin
2044a5f9cc Add wx/osx/textentry.h to the list of OS X headers.
Fix problem with "make install" which didn't install this header.

Backport of r63137 from HEAD.

Closes #11624.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-12 15:51:48 +00:00
Mattia Barbon
772133e232 Document wxPerl interface differences for wxRichTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-02 11:31:29 +00:00
Paul Cornett
92b4fa3361 correct parameter type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-05 17:24:29 +00:00
Jaakko Salli
cea22c0fac Prevent wxCheckListBox from corrupting menu item by changing ms_nLastMarginWidth (regarding defect #4068). SetOwnMarginWidth() member function needed to be added into wxOwnerDrawn.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-30 14:11:03 +00:00
Vadim Zeitlin
097449e1e8 Don't access possibly deleted wxTimer in GTK callback.
The timer object could be deleted from its Notify(), so don't access it any
more after calling it. Just remember whether it was a one shot timer or not
and reuse this value for the return value of the callback.

Closes #11295.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-08 13:56:30 +00:00
Julian Smart
3c98b2751e Applied #9956 (wxGenericTreeControl: Cache GetTextExtent results to greatly speedup CalculatePositions)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 09:54:06 +00:00
Julian Smart
551d768d12 Applied #10546: GTK support for multi-colored wxCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 20:41:08 +00:00
Julian Smart
809003a148 Applied #9668: made wxGetTimeStatic() dynamic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 19:12:10 +00:00
Julian Smart
23812a03ab Reverted change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 18:20:21 +00:00
Julian Smart
609ad74c97 Applied #9789: missing wxBORDER_THEME style in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:36:35 +00:00
Julian Smart
3e415b3236 Applied #10891: ChangeValue instead of SetValue in wxTextCtrlBase::DoLoadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 14:36:15 +00:00
Julian Smart
8932702b0c Added wxRICHTEXT_HANDLER_USE_CSS flag for HTML handler to use CSS
where possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 11:06:30 +00:00
Vadim Zeitlin
6dfeacd66f Don't use _T() in public headers used under Unix.
Avoid conflict with the Sun CC standard headers (see #10660).

Also update the change log to mention _T() changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:37:05 +00:00
Julian Smart
da7eb4871d Documented font dialog fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-01 13:39:07 +00:00
Vadim Zeitlin
100d32a6a3 Fix crash when copying Unicode URLs to the clipboard.
Closes #11014.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 15:01:32 +00:00
Vadim Zeitlin
0bb590d611 correct writing direction for Farsi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-06 21:19:58 +00:00
Vadim Zeitlin
100fa8e4c0 account properly for the menu in SetShape() (closes #10870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 22:24:13 +00:00
Vadim Zeitlin
49b68299ce credit the reporter of bugs in PNG and TIFF code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 15:44:17 +00:00
Vadim Zeitlin
f76faf0ad3 mention PNG and TIFF loaders fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:52:03 +00:00
Julian Smart
5fefca5fb1 Backported Vaclav Slavik's speeded up accurate print preview code from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 10:16:13 +00:00
Julian Smart
23590a7981 Fixed a problem with unrecognised paper id conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 11:56:37 +00:00
Julian Smart
74fe278740 Fixed event propagation problems in wxMac native list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-14 12:45:20 +00:00
Vadim Zeitlin
f689ef03fa mention incompatible change in EVT_TREE_ITEM_ACTIVATED behaviour under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 13:24:00 +00:00
Vadim Zeitlin
1458ebf6c0 implement SetTimes() for directories too under MSW [backport of r58153 from trunk] (closes #10250)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-05 12:54:37 +00:00
Vadim Zeitlin
5ae457812d added wxXmlNode forward compatible functions (re-closes #10629)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-03 08:53:29 +00:00
Julian Smart
c6457a6d93 Documented AltGr fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-02 09:52:42 +00:00
Vadim Zeitlin
71d1ad8b40 added forward compatible wxFileName::StripExtension() (see #10634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-26 15:59:38 +00:00
Vadim Zeitlin
099e36630b fix generation of wxEVT_CHAR_HOOK events [backport of r59700 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 16:12:21 +00:00
Vadim Zeitlin
1baae6e46e add wxBU_EXACTFIT support to wxToggleButton XRC handler (closes #10228)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 09:29:23 +00:00
Bryan Petty
acf0714a67 Merged r59317 from trunk: More wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 19:12:53 +00:00
Vadim Zeitlin
07c18710a3 fix handling of long lines in wxGridCellAutoWrapStringRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 00:09:23 +00:00
Jaakko Salli
b1bcba1370 Fixed documentation of wxComboPopup::m_combo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 08:52:07 +00:00
Stefan Neis
beabe005be Added wxSingleInstanceChecker for OS/2 (patch #10491).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@59069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 13:53:19 +00:00
Chris Elliott
60a1267929 update for 2.8.10-rc1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 09:18:23 +00:00
Vadim Zeitlin
f463e5c62a don't reuse the double click handled in activation event handler for toggling the item [backport of r57025 from trunk] (closes #9761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:32:23 +00:00