Benjamin Williams
c007ebeaca
in wxAuiNotebook, prevent unwanted page selection changes during tab drags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 15:11:35 +00:00
Václav Slavík
38c8f6b67e
XRC: Handle wxFLP_USE_TEXTCTRL in wxFilePickerCtrl handler (patch #1745662 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 09:06:20 +00:00
Vadim Zeitlin
254705fe87
strip the leading dot from extension if present in GetFileTypeFromExtension() [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 18:23:39 +00:00
Julian Smart
909fa782a9
Prevent seg fault for older GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 16:59:23 +00:00
Benjamin Williams
4c2a8b753d
applied patch 1737156 to wxAuiManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:53:13 +00:00
Benjamin Williams
21a35b7088
in wxAUI, set the hint transparency before showing the hint window, as this prevents a flicker of the solid hint window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 11:34:25 +00:00
Vadim Zeitlin
1006538504
restored key events generation (backports 45371 from the trunk, closes bug 1724916)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 01:51:11 +00:00
Benjamin Williams
d89144081d
fix for wxAuiNotebook middle-click close (was closing wrong page)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 13:07:02 +00:00
Benjamin Williams
b34b4a9be7
added middle-click close to wxAuiNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 16:46:41 +00:00
Benjamin Williams
667d0fb4a6
in wxAuiNotebook, code to reduce flicker on page close
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 12:35:27 +00:00
Benjamin Williams
ffbdb33034
wxAuiNotebook::RemovePage() rewritten; fixes bugs #1737293 and #1737433
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 11:28:09 +00:00
Robert Roebling
29127dcf8b
Remove Update() from ScrollWindow() again as this has
...
been taken care of by the same call in wxScrollHelper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 16:52:50 +00:00
Robert Roebling
c83062ceb2
Prevent wxScrollbar::SetThumbPos from sending any
...
event, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 16:26:28 +00:00
Robert Roebling
8639c0ea73
Corrected mouse wheel support.
...
Prevent wxWindow::SetScrollPos() and ::SetScrollbar
from emitting the wxScrollWinEvent
Call wxWindow::Update() in ScrollWindow() as the
update region would otherwise be out of sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-23 15:48:31 +00:00
Vadim Zeitlin
b6f6729e23
don't always add wxCAPTION to wxMiniFrame style unconditionally (patch 1739821; backport from HEAD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:14:00 +00:00
Robert Roebling
35d1efe657
Always use (or create on-the-fly) pixbuf representation
...
in wxBitmapButtom, fixes
[ 1739413 ] Transparency, wxBitmapButton, GTK, disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:25:11 +00:00
Robert Roebling
7887fa4046
Only apply wxALWAYS_SHOW_SB to main window in wxListCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:17:49 +00:00
Julian Smart
3cfd8e8730
Backported filter fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:12:10 +00:00
Robert Roebling
a8aeb8d9d2
Rewrote code that prevents (double) TEXT_UPDATE events
...
in wxTextCtrl::SetValue(). This should fix
[ 1735374 ] EVT_TEXT doesn't get called when changing wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:37:23 +00:00
Robert Roebling
29c30ff8f2
Correct grid lines in wxListCtrl (I cannot find the
...
bug report anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 10:09:48 +00:00
Robert Roebling
67bceb50ff
Call base class methods for setting clipping region.
...
Part of [ 1739766 ] Clipping non-rectanguar areas in wxGnomePrintDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 09:22:56 +00:00
Paul Cornett
3f51011bf0
gtk_widget_destroy does not unref the widget unless it's a TLW or in a
...
container, so use gtk_object_sink to delete temporary, parentless widgets.
Fixes memory leak bug #1741184 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 06:53:30 +00:00
Vadim Zeitlin
034f884a00
blind fix for wxUSE_WXDIB==0 compilation (replaces patch 1739858)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 18:14:29 +00:00
Vadim Zeitlin
4f252980d9
pass double as sqrt() argument as at least Sun compiler has troubles with sqrt(2) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:23:42 +00:00
Julian Smart
18be86b20b
Copied fonts in art Clone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:16:10 +00:00
Julian Smart
8dc797d705
Added font setting and ability to determine AUI notebook height for a given page height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Vadim Zeitlin
10aee5e5d4
fix bug in our wxStrtod() reimplementation which prevented it from ever working (bug 1721643)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 11:53:48 +00:00
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
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
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
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
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