Vadim Zeitlin
d5cc95bff0
check that we do have scrollbars before using them to avoid crashes when SetScrollXXX() methods are called for windows which are not scrollable [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:46:56 +00:00
Vadim Zeitlin
24d135e59d
fix to the previous commit: percent signs have to be escaped first
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:24:31 +00:00
Paul Cornett
3dac5efb81
fix reversed left/top variables
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 03:43:01 +00:00
Vadim Zeitlin
64540685b9
fix handling of '#' in file names (patch 1740328) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 00:06:17 +00:00
Vadim Zeitlin
1cf8287602
make setting the foreground colour of wxTextCtrl in wxGTK work [backport of 1.685 from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 21:30:16 +00:00
Paul Cornett
065ada7625
fix reparenting a control into wxToolBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 17:49:13 +00:00
Julian Smart
a2a50c2dfe
Give controls more width to avoid edge being clipped
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 15:35:54 +00:00
Julian Smart
4bfc438fd5
Fixed uninstalled toolbars in native toolbar mode, with a method for
...
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 14:02:06 +00:00
Julian Smart
4b22bf79df
Compile fix for non-CG mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 08:16:50 +00:00
Julian Smart
884f232074
Compile fixes for non-Core Graphics mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 08:14:04 +00:00
Mart Raudsepp
df24902892
Fix SetExtraLong parameter type in docs from int to long. Noticed by nept2 on IRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 04:22:56 +00:00
Vadim Zeitlin
8adb6b9372
don't free "static" alpha data (patch 1738966) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 00:13:57 +00:00
Robin Dunn
a9642c3a21
fix import error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 15:45:23 +00:00
Julian Smart
8cb244cc1c
Finally fixed control scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-19 15:08:13 +00:00
Robin Dunn
4a132d8cdf
Coerce to floating point to fix ResampleBicubic. See bug #1736953 .
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:39:13 +00:00
Robin Dunn
8bc128301d
Send the calendar and date changed events to the datepicker ctrl first
...
(not its parent) so they can be caught by dynamic event handlers
connected directly to the picker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:34:56 +00:00
Robin Dunn
53d7f318ea
Added patch from Chriss Mellon that gives PyShell a custom context
...
menu that is better integrated with the shell environment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 19:09:00 +00:00
Robin Dunn
066efa7cf1
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:57:24 +00:00
Robin Dunn
996a3ff6a8
docstring fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:53:07 +00:00
Robin Dunn
f703b16a42
some cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:52:15 +00:00
Robin Dunn
c91397af88
it looks better if we just change the main bitmap, not all of them.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:51:34 +00:00
Václav Slavík
9f50431f18
improve XRC loading performance on Unix by avoiding MIME database loading
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:37:40 +00:00
Mart Raudsepp
707dcbad73
gtk_border_free is for freeing GtkBorder's, not g_free.
...
Using g_free instead used to have no ill effects as gtk_border_free called that anyway, but in gtk+-2.11 GtkBorder
uses GSlice and gtk_border_free therefore uses g_slice_free and using g_free makes things crash hard.
So fix it or wxGTK won't work with the upcoming gtk+-2.12 stable release planned for end of July.
Hopefully we will release 2.8.5 by then...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 06:16:45 +00:00
Mart Raudsepp
09632bb00c
Fix memory leak in wxTextCtrl au_check_word that was triggered only with wxTE_AUTO_URL style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 05:53:03 +00:00
Václav Slavík
b996028c3b
when selecting text in wxHTML, selecting half a character is enough to select it (patch #1719530 ; this is standard behaviour when selecting text)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:58:20 +00:00
Václav Slavík
887e1ab976
fixed selecting part of word from right to left in wxHTML (patch #1719530 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 17:31:09 +00:00
Václav Slavík
faf75a0f58
don't make read-only text controls editable when enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 09:29:41 +00:00
Vadim Zeitlin
1644f8fccc
correct setting of pSymbol->SizeOfStruct (patch 1737789) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-17 00:59:29 +00:00
Robin Dunn
0e65b1d1cd
Patch #1738147 Improved imagebrowser
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:16:37 +00:00
Robin Dunn
14b4674a0b
bugfixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 23:15:13 +00:00
Vadim Zeitlin
b060ae7de4
added wxDocument::GetUserReadableName() for forward compatibility with 3.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:53:56 +00:00
Stefan Csomor
dde33f39c1
use CFAlerts on mac for asserts, better isolation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 23:07:20 +00:00
Stefan Csomor
ea3bf30068
popupwin for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 23:04:35 +00:00
Stefan Csomor
fa887f51c1
making spell checking selectable via system options, Bug 1736428
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 22:14:09 +00:00
Stefan Csomor
dd8fb0aa37
making spell checking selectable via system options, Bug 1736428
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 21:59:28 +00:00
Vadim Zeitlin
b9b6aefc64
corrected strptime() test, don't use NULL pointer as this crashes under Darwin [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 10:24:33 +00:00
Vadim Zeitlin
7cf8af693d
check if strptime() works correctly and disable its use if it doesn't [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 01:10:17 +00:00
Stefan Csomor
af81408a3e
fixes for popupwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 22:55:58 +00:00
Václav Slavík
56a25b3eb8
prefer wxFFile to wxFile if both are available, for better performance (see bug #1736365 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 20:49:27 +00:00
Stefan Csomor
ba281f497a
fixing 1736334
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 16:36:28 +00:00
Stefan Csomor
dd9f8154e5
fixing 1736428
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 13:03:12 +00:00
Stefan Csomor
6a7ecf17b1
fixing 1736447
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:56:34 +00:00
Stefan Csomor
715b146a8b
fixing 1736298
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:43:36 +00:00
Stefan Csomor
44b4624ed8
fixing 1736298
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 12:35:29 +00:00
Stefan Csomor
16f129a555
universal support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:35:23 +00:00
Stefan Csomor
b04e8701aa
changing weak linking pattern
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:24:17 +00:00
Stefan Csomor
904c5051aa
unhighlighting the menu when a dialog is shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:22:15 +00:00
Stefan Csomor
d86e89f3f9
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:20:40 +00:00
Stefan Csomor
d3521487d4
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:05:37 +00:00
Stefan Csomor
cc10fcc4a8
universal os x fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 03:46:20 +00:00