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
cb14e362f3
compilation fix: only one wxInitialize form may have default argument values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 10:14:36 +00:00
Václav Slavík
08d173ca31
compilation fix: only one wxInitialize form may have default argument values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-30 10:14:03 +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
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