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
Robin Dunn
fa4ae2ba92
Don't use hidden items for size calc (patch 1698314) (backport from HEAD)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 21:54:15 +00:00
Vadim Zeitlin
492d813979
remove documentation of (protected) AutoSizeColumnOrRow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 19:53:45 +00:00
Vadim Zeitlin
62ea29db7d
removing the files recently added to HEAD from 2.8 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 15:43:11 +00:00
Stefan Csomor
a96745c934
removing duplicated error message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 11:25:14 +00:00
Stefan Csomor
39183827a1
fixing refcounting for embedded native controls, backporting code for Realize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 09:59:44 +00:00
Vadim Zeitlin
fa3eb1ed3c
truncate the static box label to fit the control size (patch 1695228) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:41:54 +00:00
Vadim Zeitlin
03f100f508
don't use Pango hack for drawing underlined text when using new enough version of Pango (patch 1697040) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:24:16 +00:00
Vadim Zeitlin
d5d363321c
don't return the next line text from GetLineText() for empty lines (patch 1697208) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:19:59 +00:00
Vadim Zeitlin
a46324a7fb
don't access the window after it had been deleted by the focus event handler (patch 1693063) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 11:41:15 +00:00
Stefan Neis
32e3e93e6e
Backported bugfix (comparision vs. assignment).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:19:21 +00:00
Benjamin Williams
208bec08eb
avoid assert in window list drop down
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 16:31:23 +00:00
Vadim Zeitlin
95be621f72
call SetEventObject() for wxHtmlLinkEvents we generate [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 02:04:23 +00:00
Robin Dunn
a1732cbc15
Use our own getters and properties for wxVisualAttributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:42:01 +00:00
Vadim Zeitlin
e70fb09f3e
replaced more occurrences of 2.8.3 with 2.8.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 14:06:04 +00:00
Vadim Zeitlin
62274eb11e
updated version to 2.8.4 after addition of wxString::[w]char_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 13:58:31 +00:00
Paul Cornett
3a570c4285
build fixes for wxUSE_VALIDATORS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 02:44:32 +00:00
Václav Slavík
89b6915f14
added wxString::[w]char_str() to 2.8 for forward compatibility with wx3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-02 12:25:40 +00:00
Vadim Zeitlin
3646999e0c
fix PangoFontMetrics leak in GetCharHeight() (bug 1691180) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 13:05:02 +00:00
Vadim Zeitlin
e224e2ccc8
clear m_oldStatusText after restoring it, otherwise we could restore it again the next time instead of restoring the up-to-date status bar text [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:07:29 +00:00
Vadim Zeitlin
5f814f27d9
don't handle orderly socket shutdown by the peer as an error (patch 1688222) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 19:04:25 +00:00
Vadim Zeitlin
beb4cfa4c8
don't crash when attempting to select hidden tree root (bug 1681118)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:57:15 +00:00
Vadim Zeitlin
993ad8f9b4
don't call gtk_label_set_line_wrap() from DoGetBestSize() as this results in an infinite resizing loop when the control is inside a GTK+ widget doing its own layout (such as wxToolBar) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 12:16:10 +00:00
Vadim Zeitlin
6e165a8d49
backported clarifications to Wait() semantics from HEAD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 11:53:20 +00:00
Vadim Zeitlin
7e7c2a6715
fix PangoFontMetrics leak in GetCharHeight() (bug 1691180) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 11:50:46 +00:00
Vadim Zeitlin
7643dd1947
fix memory leak when handling background attribute (patch 1687900) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:14:35 +00:00
Vadim Zeitlin
4d24771f79
fix compilation with wxUSE_EXTENDED_RTTI && !WXWIN_COMPATIBILITY_2_6 (bug 1688249) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 18:02:11 +00:00
Vadim Zeitlin
4a6e08d02c
added wx/cocoa/tooltip.h to COCOA_HDR (bug 1689148) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:48:04 +00:00
Vadim Zeitlin
1059208429
fixed bug in wxThread::Wait() in console applications introduced in 2.8.3 (bug 1690777)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 17:28:21 +00:00
Vadim Zeitlin
38f9c9355c
define ATTRIBUTE_PRINTF(m,n) and not just ATTRIBUTE_PRINTF as nothing when the compiler doesn't support it, otherwise it can result in compiler errors when wx/defs.h is included before a standard header using ATTRIBUTE_PRINTF() as (at least version 2.6.20 of) xmlerror.h from libxml2 does [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 14:04:49 +00:00
Robin Dunn
eb7885ccf0
revert last change, it wasn't intended
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-28 00:09:19 +00:00
Julian Smart
b4c61ec475
Need an extra pixel or best size is incorrect when we have a divider (apparent with e.g. wxAUI)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-27 13:41:12 +00:00
Robin Dunn
579c608e3e
0.9.1 of TreeMixin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:55:31 +00:00
Robin Dunn
bb7882b5d1
Fix off-by-one error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 19:53:37 +00:00