Commit Graph

41325 Commits

Author SHA1 Message Date
Julian Smart
713716a890 Applied #9481 - submenus for help menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 07:29:17 +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
1408355593 Applied #10917: wxGTK wxFileDialog::SetDirectory and ::SetFilename problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 20:36:31 +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
620de0dfbe Applied #11106: wxGenericDirCtrl can get into a state where it will no longer expand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 17:04:10 +00:00
Julian Smart
0b02609ffe Applied #11005: use purple instead of black as default wxHyperlinkCtrl::m_visitedColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 16:46:50 +00:00
Julian Smart
f0838ffc1e Applied #10860: adding test to show that a list being manipulated inside a long task updates correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:54:53 +00:00
Julian Smart
ed86b73f2d Applied #11236: Event from thread not processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 15:42:13 +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
9c0683bbe8 Applied #10069: performance improvement to mime type initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 14:22:50 +00:00
Julian Smart
c9f62632e9 Applied #10828 (Hourglass in wxDocManager::OnPreview)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:54:46 +00:00
Julian Smart
c6fb1da330 Applied #10799: using CallTipUseStyle() doesn't enable wxSTC_STYLE_CALLTIP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 13:16:56 +00:00
Julian Smart
de089d8a1c Applying patch #10784: eliminate gauge flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 10:18:25 +00:00
Julian Smart
b2f96cafca Applied patch #9510: wxIAccessible access freed memory
by Cyball


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 10:15:06 +00:00
Julian Smart
ee18a103b3 Applied patch #11078 - DEVMODE creation in wxWindowsPrintNativeData::TransferFrom plus SetQuality to dpi
by Martin Perktold


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 09:52:26 +00:00
Julian Smart
b105aac221 Applied #10659 (year change in copyright)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 07:42:09 +00:00
Julian Smart
a0b4f26342 Applied #10639 (Not all previewed fonts are displayed with the correct nameface)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-24 07:36:00 +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
Julian Smart
06666889ff Fixed #10702 (encoding not used in HTML handler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:53:08 +00:00
Julian Smart
a3e04e576b Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:45:14 +00:00
Julian Smart
279df2ce99 Fix for wrong line placement when centering or right-aligning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 07:38:57 +00:00
Julian Smart
66b33d22fa Fix for #4696: added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 16:36:42 +00:00
Julian Smart
6c0f734302 Returning WVR_REDRAW triggers Windows bug that moves child windows, so don't use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 15:20:42 +00:00
Julian Smart
c48ada3df4 Fixed #9996 (incorrect XML output in Ansi build for non-ASCII character)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 13:06:10 +00:00
Julian Smart
6ac5d9ebd0 Don't use deprecated background style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-22 10:03:45 +00:00
Vadim Zeitlin
f15c021bb6 Fix possible deadlock in wxEvtHandler::ProcessPendingEvents().
Delete the event we just processed before re-locking the critical section as
this may result in deadlocks if the (user-defined) event dtor does something
non-trivial.

Closes #10790.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-20 21:48:50 +00:00
Julian Smart
c78e95f633 Avoid duplicate character event for VK_DECIMAL on numeric keypad
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-20 10:57:20 +00:00
Vadim Zeitlin
122fc27e3e Check for self-assignment in wxFileName::operator=().
This is a backport of r56794 from trunk but adds the check for self-assignment
to the Assign() implementation which is in a .cpp file and so is compiled into
the library and not operator=() itself which is inlined to avoid any problems
with mixing different version of this inline function when updating to next
2.8 version without recompiling.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-16 11:37:46 +00:00
Julian Smart
ce2a0101bf wxRTC's own caret is more reliable than the generic one, so use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-14 15:52:26 +00:00
Stefan Neis
76738ae8b7 Be more paranoid about parent window possibly being NULL (partly fixes #11195).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-13 15:47:25 +00:00
Julian Smart
9a2e7481ba Fix on Mac to prevent scrollbars always being shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-11 08:55:34 +00:00
Vadim Zeitlin
cdf7bf04aa Predefine wxNEEDS_T to fix wxrc compilation with Sun CC.
After the recent changes _T() is not defined any longer when using Sun CC but
this file does need it to be defined and seems to compile fine when it is, so
define wxNEEDS_T before including any wx headers.

See #10660.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:37:14 +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
Vadim Zeitlin
9ff9127930 Undef _T before including standard headers and redefine it later.
This change fixes the build of wxWidgets itself by undefining _T() before
including any standard headers and redefining it after including them.

See #10660.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:51 +00:00
Vadim Zeitlin
7620326bdb Don't define _T() when using Sun compiler if possible.
Avoid defining _T() if possible as it conflicts with the use of this
identifier in standard headers. Do still define it when building wx itself or
when the special symbol wxNEEDS__T is explicitly predefined.

See #10660.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:43 +00:00
Vadim Zeitlin
b03aba8244 Define WXBUILDING when building wxWidgets itself.
This is needed by the upcoming _T-related patches (see #10660).

Notice that only Makefile.in was regenerated using the old 0.2.5 bakefile
version to keep changes to the minimum. The other makefiles will have more
changes when they are regenerated with bakefile 0.2.6 after we update to it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-09 22:29:35 +00:00
Vadim Zeitlin
080a52bc8e Use VariantTimeToSystemTime() in wxConvertOleToVariant().
Fix the problem with variants containing only time (but not date) information.

Also check in the symmetric changes to wxConvertVariantToOle() but disable
them for now as they were not tested.

Closes #11177.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-06 15:59:49 +00:00
Vadim Zeitlin
01943fa2ea Really fix compilation of wxURLDataObject.
Conversion from char* to wxString doesn't exist in 2.8, need to do it
explicitly.

Closes #11102.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-05 12:39:26 +00:00
Vadim Zeitlin
77756ff0f2 Fix bug in wxTreeCtrl::ItemHasChildren() for virtual root item.
Backport of r58177 from trunk, see #11169.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-04 19:10:46 +00:00
Vadim Zeitlin
4a7adb8fcc Another compilation fix after r61814.
wxDECLARE_NO_COPY_CLASS() doesn't exist in 2.8, only DECLARE_NO_COPY_CLASS()
does.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-04 00:29:52 +00:00
Vadim Zeitlin
581b7a97be Compilation fix after r61814.
Trunk change was not completely merged and broke the build, fix it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-03 11:03:36 +00:00
Vadim Zeitlin
1a0b69436c Fix off by one errors and buffer overflows in wxURLDataObject.
Backport of r61787 and r61788 from trunk.

Closes #11102.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-03 00:32:09 +00:00
Vadim Zeitlin
0ce4ea896d Fix SetToolTip(NULL) in newer GTK versions.
Backport of r61549 from HEAD.

Closes #11158.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-03 00:16:50 +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
Julian Smart
e3dca87def Backported fix from 2.9.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-01 13:36:08 +00:00
Vadim Zeitlin
05e99449f5 Unload GDI+ DLL during wxWidgets shutdown.
This was done during static objects cleanup time previously resulting in
deadlocks when wxWidgets was used as a DLL as DLLs can't be unloaded when
wxWidgets DLL itself is being finalized because of the global loader lock.

This is a back port of r48778 and r54233 from trunk.

Closes #11127.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-23 21:36:09 +00:00
Vadim Zeitlin
e5c9621fd1 Fix extraction of standard command line arguments in wxX11.
The original number of arguments should be used when checking the argument
index for validity. Additionally, memmove() wasn't moving the correct number
of bytes because of forgotten sizeof().

See #11124.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-20 00:01:55 +00:00
Julian Smart
8b9009904d Fix numpad Del not working in wxRTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-18 17:33:02 +00:00