Commit Graph

22840 Commits

Author SHA1 Message Date
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
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
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
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
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
Vadim Zeitlin
31f6f21ddf Corrected fix for #11014 in r61506.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-13 17:32:24 +00:00
Julian Smart
a6635eb987 If zero spacing after paragraph is explicitly specified, suppress spacing after paragraph.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-11 09:27:25 +00:00
Julian Smart
e391f598c0 Mark a couple of labels for translation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-09 15:55:56 +00:00
Václav Slavík
a3bc27e40a added wxInitialize() overload taking char**, to make use from main() easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 07:42:54 +00:00
Václav Slavík
113abce509 Use wxInitializer in wxEntryReal() instead of directly calling wxEntryStart() without refcounting. This makes it possible to write hybrid CLI/GUI wx applications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 07:10:38 +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
a30d58b54d position the popup on the correct screen (see #10462) [backport of r58592 and r58598 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-19 16:45:08 +00:00
Vadim Zeitlin
8a6a7954c5 remove the event handler being deleted from pending events list (closes #10997)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-17 14:30:05 +00:00
Jaakko Salli
6b0546ba57 Made sorting case-insensitive (to match wxComboBox behavior, backported from SVN trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-11 07:08:44 +00:00
Vadim Zeitlin
116458be4e fix linking error when wxUSE_ON_FATAL_EXCEPTION==0 (closes #10969)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-07 09:35:56 +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
Stefan Csomor
114aa762de attempt for a different fix to focus rect refresh problems under full keyboard access
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 12:59:53 +00:00
Julian Smart
618dbbafb8 Allow for menus when deleting a tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:01:27 +00:00
Vadim Zeitlin
44566e1ed0 use the top level window parent as argument to gtk_window_set_transient_for() to fix GTK errors/crashes (closes #10929)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 22:02:51 +00:00
Julian Smart
9e004dc28d Fix for toolbar commands not working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 12:31:00 +00:00
Julian Smart
50076362d2 Style selection now restored after editing the style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 10:35:46 +00:00