Robert Roebling
c3c7278aa7
Mention change in wxComboBox::SetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 21:21:30 +00:00
Robert Roebling
d9138d0539
Don't emit EVT_TEXT after wxComboBox::SetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 21:18:24 +00:00
Chris Elliott
5166603dcc
update to 2.8.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 09:29:31 +00:00
Chris Elliott
8b87433ebd
release should be 4 in 2.8.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 09:24:49 +00:00
Vadim Zeitlin
93c2397b68
don't assert in wxUniv SetSelection(wxNOT_FOUND), just clear text zone contents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:23:51 +00:00
Vadim Zeitlin
9fe19926fa
don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:17:18 +00:00
Robin Dunn
c15bb63bc3
invalidate the best size when adding or deleting items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 01:04:47 +00:00
Robin Dunn
c92bd38c72
ensure there is a current cell before using it to try and get width/height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 00:15:42 +00:00
Robin Dunn
3814954344
backport the shrinking embedded controls fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 00:08:09 +00:00
Robin Dunn
9503fa830b
backport file extension case fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 00:06:45 +00:00
Robin Dunn
3640fa6670
demo tweaks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:53:24 +00:00
Robin Dunn
35e224a636
test activate event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:52:35 +00:00
Robin Dunn
372cc7aca9
Update treemixin to 1.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:50:36 +00:00
Robin Dunn
35c770fa95
Fix typo that prevented an overridden PaintBackground in a
...
wx.grid.PyGridCellEditor derived class from being called.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:49:30 +00:00
Robin Dunn
40ec2b2462
More fixes needed for allowing classes to be derived from PyAuiDockArt
...
and PyAuiTabArt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:47:51 +00:00
Robin Dunn
fc56edf93b
Use lower case property names in wx.DateSpan and wx.TimeSpan in order
...
to not conflict with static methods with same names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:42:17 +00:00
Robin Dunn
a9e9358c43
Use wxWANTS_CHARS style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:29:02 +00:00
Robin Dunn
a9d109cb9b
bump version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:28:01 +00:00
Robin Dunn
f5850761c3
Use wx.FileHistory for the recent files menu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 20:25:07 +00:00
Chris Elliott
33a02df508
add missing makefile.vc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 12:15:29 +00:00
Vadim Zeitlin
d420454eb1
don't select the window about to be deleted as parent for modal dialog in ShowModal()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 20:11:11 +00:00
Robert Roebling
0fe70eff13
Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 09:28:08 +00:00
Vadim Zeitlin
f28f0531b9
don't use wxLocale if wxUSE_INTL==0 (fixes 2nd part of bug 1692898)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 00:45:38 +00:00
Vadim Zeitlin
d75c9b05c8
define wxGetTranslation() as (trivial) inline function, not macro, in wxUSE_INTL==0 case to allow compilation of the code using its second domain argument (fixes bug 1692898)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 00:43:19 +00:00
Vadim Zeitlin
b46506f365
really ensure that the window being centered is fully visible (fixes bug reported in patch 1683239); also place it on the same display as its parent, if any [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 23:14:30 +00:00
Vadim Zeitlin
c3a30557ce
update wxApp::argc/argv to remove the options parsed by GTK+ itself from them [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:18:44 +00:00
Vadim Zeitlin
139779bc3f
don't let def window proc start another drag operation if we just started one ourselves for a multiselection tree (replaces patch 1702133) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:49:00 +00:00
Vadim Zeitlin
339a867854
don't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug 1659872; part of patch 1667343) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 15:17:01 +00:00
Kevin Ollivier
b293119a93
Backport of key handling and selection fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 00:18:10 +00:00
Vadim Zeitlin
d2adcde938
don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check for error return from both localtime() and gmtime() [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 00:04:39 +00:00
Vadim Zeitlin
e9ef27252d
allow having children of status bar in XRC (patch 1704125) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 23:24:42 +00:00
Kevin Ollivier
d0c0cecb3d
Backporting support for adding wx Window menu items into the system Window menu.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 23:17:27 +00:00
Vadim Zeitlin
c458cf7a2c
add missing dynarray.h includes (patch 1702312) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:17:50 +00:00
Vadim Zeitlin
8e295ee217
fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:10:56 +00:00
Benjamin Williams
a633c45776
fixed bug when a fixed pane is resized inside a fixed dock
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 08:54:25 +00:00
Vadim Zeitlin
0af3e42a1f
create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch 1702847) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:18:13 +00:00
Paul Cornett
71dc04a664
backport rev 1.60: don't clamp scroll position before updating GtkRange
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 17:24:52 +00:00
Robin Dunn
ce7feab06b
wx.lib.flatnotebook: Patch from Andrea that implements the following:
...
* A new style FNB_FF2: my intentions were to make it like Firefox 2,
however it turned out to be an hybrid between wxAUI notebook glose
style & FF2 ...I still think it looks OK. The main purpose for
making it more like wxAUI is to allow applications that uses both
to have same look and feel (or as close as it can get...);
* Changed the behavior of the left/right rotation arrows to rotate
single tab at a time and not bulk of tabs;
* Updated the demo module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:40:05 +00:00
Robin Dunn
bf2481b9cf
Patch from Andrea that fixes the following problems/issues:
...
a) ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting the
selection rectangle;
b) Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;
c) Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;
d) Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:26:28 +00:00
Vadim Zeitlin
f962edd617
reverted last change as using pango_version_check() (unavailable in the old Pango versions) makes wx applications impossible to run on older systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 21:46:59 +00:00
Robin Dunn
275ca791f6
Don't use m_popupInterface pointer if it is still NULL (backport from HEAD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 20:51:27 +00:00
Vadim Zeitlin
3e07effcf7
call gtk_file_chooser_set_current_folder even if the default file name is empty (but default directory isn't) (bug 1701682) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:24:04 +00:00
Vadim Zeitlin
6dced616e6
removed extra semicolons to fix compilation with gcc -Wpedantic (patch 1701236)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 13:03:05 +00:00
Václav Slavík
6a0da7e4b9
added wxMBConv argument to char_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 11:04:35 +00:00
Vadim Zeitlin
55efbeb23c
adjust the window coordinates for parent client area origin when in Create() too and not only in DoSetSize() [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 00:32:27 +00:00
Stefan Csomor
af08919ae0
fixing assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:41:16 +00:00
Vadim Zeitlin
0a3c4e03f4
even controls with transparent background should draw it if they have an explicitly set background colour, so handle this at wxWindowUniv level instead of adding hacks to individual controls, such as wxStaticText, to deal with this (replaces patch 1700004) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 01:17:28 +00:00
Vadim Zeitlin
127e4f1caf
fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (patch 1700000) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:41:59 +00:00
Vadim Zeitlin
c8c1e854b1
implement support for right-aligned/centered items owner-drawn items (patch 1699415) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:38:28 +00:00
Vadim Zeitlin
c477ac5630
include memory.h to help Borland compilation in Unicode mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 14:13:47 +00:00