Commit Graph

1312 Commits

Author SHA1 Message Date
Julian Smart
afa37904f2 Fixed crash on exit caused by deleting old logger in wxLogChain dtor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-03 15:09:44 +00:00
Julian Smart
fc2f7de763 Fixed a problem with paste resetting the content paragraph style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-02 20:55:16 +00:00
Julian Smart
fbaae26c41 Change log for wxRTC fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-27 08:16:28 +00:00
Julian Smart
726de9de5c Added wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT to correct tree and list control selection rendering.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-25 09:37:28 +00:00
Julian Smart
a2abbb1cc9 Documented fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@67010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-24 09:35:23 +00:00
Julian Smart
8be4c9ff86 Documented menu bar fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-22 12:13:19 +00:00
Vadim Zeitlin
da7a3bcfd2 Define forward-compatible wxT_2() macro.
This macro is the same as wxT() in wx 2.8 but allows to write code compatible
with wxWidgets 3 where it expands to nothing.

See #12925 and r66968.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-19 13:54:14 +00:00
Julian Smart
9f9d468ca0 Change log updates and version/date updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-17 22:08:33 +00:00
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
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
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
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
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
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
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
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
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
Vadim Zeitlin
87908d388c don't generate EVT_LISTBOX_DCLICK events with incorrect indices [backport of r58405 from trunk] (closes #10429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:29:09 +00:00