Commit Graph

41220 Commits

Author SHA1 Message Date
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
f90c861996 fixed typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 07:36:39 +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
Paul Cornett
3756f0ee8f fix crash with repeated split horizontal/vertical and replace window, #11002
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-18 22:46:26 +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
Vadim Zeitlin
4680ad0e41 added new wx-config --query-xxx options [partial backport of r61026 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:52:39 +00:00
Vadim Zeitlin
52046585ca don't include wx/msw/winundef.h when including wx/defs.h from C code (closes #10910)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:32:20 +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
Julian Smart
2614c696fe Made standard bullet names translatable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 10:28:04 +00:00
Julian Smart
e8e94d3c99 Patch from Bruno Daniel to fix tab position inconsistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-20 23:26:05 +00:00
Julian Smart
f6ca6062f1 We have to avoid use of wxMacLTEHIViewControl even with CG on 10.5
because we get focus ring problems with wxSpinCtrls and wxSpinButton
(to reproduce pre-this-patch, click between wxSpinCtrl and wxSpinButton
in widgets sample)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 23:06:36 +00:00
Julian Smart
d91c632a9a Corrected version test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:44:19 +00:00
Julian Smart
7cc504b42d Avoid disabling comboboxes completely on 10.4 (caused by rev 56156)
See also ticket 10047


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:31:50 +00:00
Julian Smart
c23b675f92 Don't use wxMacMLTEHIViewControl for single-line text controls in non-Core Graphics mode
since it doesn't refresh borders properly even on 10.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:26:35 +00:00
Julian Smart
4931fa77fa wxRichTextCtrl native caret now flashes, for wxMac/Core Graphics mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 21:09:42 +00:00
Julian Smart
eb10b04a3a Avoid accidental enabling of disabled windows by checking for disabled parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 16:32:56 +00:00
Vadim Zeitlin
436dccde70 fix memory leak in SetColFormat() if the column already had an attribute (closes #1807)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 18:24:37 +00:00
Vadim Zeitlin
c579f80892 avoid name clashes with GSocket from glib 2.21+ (closes #10883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 03:35:38 +00:00
Vadim Zeitlin
9e1f3a964f correct the fix for avoiding the integer multiplication overflow to really work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 22:28:48 +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
Julian Smart
1b98c87ba6 Use live update for splitter on Mac since Leopard seems even more susceptible to screen drawing crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 08:01:38 +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
Vadim Zeitlin
6555147b11 check for integer overflow which could result in buffer overrun when loading an invalid TIFF file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:51:26 +00:00
Vadim Zeitlin
619643cc37 don't free() the same pointer twice if an error occurs during lines pointers allocation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:50:30 +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
Vadim Zeitlin
20e227dfd0 don't add the sash size to the best size if the window is not actually split (see #10533) [backport of r59415 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:13:07 +00:00
Vadim Zeitlin
94254ee936 forward Freeze/Thaw() and Update() to the generic list control (see #10858)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 22:38:47 +00:00
Julian Smart
78c685542a Ensure the tooltip has been created before enabling or setting the delay, or they will be no-ops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-29 13:32:27 +00:00
Robin Dunn
292500f3f8 Final build tweaks for 2.8.10.1 needed to compensate for Debian/Ubuntu changes in where the pacakges are installed for Python 2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 17:34:24 +00:00
Paul Cornett
a37af54e73 avoid making GLib call before gtk_init_check is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-28 16:00:45 +00:00
Vadim Zeitlin
0f2e4fd010 PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 09:27:44 +00:00
Paul Cornett
a69ab7e06b fix crash when reparenting, #3900
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 17:58:40 +00:00
Julian Smart
27269a137c COrrected my misapplied fix, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 10:17:44 +00:00
Julian Smart
a25a317699 Avoid resetting size if paper id not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:18:11 +00:00
Julian Smart
96c5cff92a Removed duplicate semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:15:24 +00:00
Julian Smart
be60668fbe Added a comment about DMPAPER_USER not always working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:07:40 +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
Robin Dunn
7e2d662bd7 build tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 03:12:44 +00:00
Julian Smart
5f65360a7b Added background colour control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 11:22:40 +00:00
Stefan Csomor
374c264ff5 applying, closes #9012
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@60637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 04:31:29 +00:00