Commit Graph

1290 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
e3646f4afd fix repaining of highlight for merged cells [backport of r55630 from trunk] (closes #9718)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 10:23:19 +00:00
Vadim Zeitlin
a8e888b0c0 translate (c) and (C) to \u00a9 in wxAboutDialog [backport of r57245, r57514 and r57840 from trunk] (closes #4216)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:46:03 +00:00
Vadim Zeitlin
36523e69b4 use bitmap mask if any in splash screen (closes #10470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:16:50 +00:00
Vadim Zeitlin
990168e923 fix wxList::erase(it, end()) in non-STL build (see #10103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:10:56 +00:00
Vadim Zeitlin
adf8a83f4f correct wxDateTime DST begin/end computations for years > 2006 in USA (closes #10425)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 21:52:37 +00:00
Václav Slavík
e31dc22ee4 Automatically adjust toolbar's tool size if the provided bitmaps don't fit into the default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:32:16 +00:00
Vadim Zeitlin
13c766f651 fix wxURI::GetUser() for URIs without password; added unit test case for it (closes #10412)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 17:02:11 +00:00
Julian Smart
ff0ac260ef wxRTC now properly honours margin size
Added wxRE_CENTRE_CARET style to centre the caret line vertically


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 12:05:11 +00:00
Julian Smart
ca2c70db6f Workaround for GTK+ sensitivity bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 20:38:43 +00:00
Julian Smart
56511a5418 Fixed invisible CHM tooltip text bug when window text colour is black.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:18:01 +00:00
Julian Smart
b759e7d3d0 Fixed [wxRichTextCtrl] Right Alignment sets text in the RTC too close to the border (#10277)
Also [wxRichTextCtrl] Wrong text positioning if different font sizes in the same paragraph (#10279)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:55:07 +00:00
Julian Smart
04355fb016 Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxMac/CG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 14:51:49 +00:00
Vadim Zeitlin
d29206bfbb fix wxURL::GetInputStream() for URLs with special characters in credentials (closes #10265)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 17:03:20 +00:00
Vadim Zeitlin
cc05060c18 make colours used by list and tree controls more consistent with the system theme settings; also use the correct colour for the status bar (closes #10089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 13:03:24 +00:00
Vadim Zeitlin
37cfa1218a avoid warnings about localtime() being deprecated from MSVC8/9 by just not using it from a header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 19:52:20 +00:00
Vadim Zeitlin
e027fe757f correct Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 19:50:17 +00:00
Vadim Zeitlin
9be232e7a9 fix wxTimeSpan::Format() for negative spans with 0 hour component (#10055)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 12:16:06 +00:00
Vadim Zeitlin
9dd0e3cfcf don't hard code the menu bar height under WinCE (#10248) [backport of r57393 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 11:29:20 +00:00
Vadim Zeitlin
9ea428c072 mention wxHashMap::insert() change (r57388, #10261)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 10:06:24 +00:00
Vadim Zeitlin
da895a08f5 fix handling of abandoned mutexes in wxMutex::Wait[Timeout]() (#10236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:22:04 +00:00
Vadim Zeitlin
0386be5f06 don't call DragFinish() before calling DragQueryPoint() or we (naturally) don't get the correct answer from the query (#10238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:17:36 +00:00
Vadim Zeitlin
6ddb01662f fix best size caluclation for the notebooks with multiple rows (#2335) [backport of r57024 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@57033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:39:47 +00:00