Commit Graph

39593 Commits

Author SHA1 Message Date
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
Robin Dunn
c322433224 new test app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:56:07 +00:00
Robin Dunn
08e98210c4 Patch from Rob McMullen allowing the plot title to be optional
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:55:12 +00:00
Robin Dunn
123129601c fix offset of widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:54:05 +00:00
Robin Dunn
4366f1b660 Use disabled state if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:52:55 +00:00
Robin Dunn
d376e326d8 Update to 0.9 of TreeMixin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:50:46 +00:00
Robin Dunn
4c0a5a842e regenerated for the 2.8.3.0 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 18:49:49 +00:00
Julian Smart
e99dd1156f Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 09:42:43 +00:00
Vadim Zeitlin
9ce84d105d make wxNO_BORDER work with wxRadioBox (patch 1525406) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 02:03:27 +00:00
Vadim Zeitlin
7a6043ae7c don't use TPM_RECURSE under NT4, it results in TrackPopupMenu() not showing the menu at all (bug 1663216) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 16:23:12 +00:00
Robin Dunn
56502ea468 add more simple test apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:49:37 +00:00
Robin Dunn
625b827359 Fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 18:48:36 +00:00
Vadim Zeitlin
c0459b5cfa correct the checked flag in the event generated by checkable menu items (fixes bug introduced in 1.143.2.1, patch 1685634)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 03:04:09 +00:00
Vadim Zeitlin
5d511d9b6e don't lose the combobox text when it's opened and closed (patch 1684252, closes bug 1612994) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:46:21 +00:00
Vadim Zeitlin
0f97497fcf corrected static box label appearance when its foreground colour was set and either background colour was set too (it was ignored) or font of non default was used (label wasn't drawn correctly) (backport of patch 1683573 from HEAD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-22 02:31:35 +00:00
Robin Dunn
b4bc14f4f1 Change day of the week too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 23:06:29 +00:00
Robin Dunn
80d0b595be reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:50:13 +00:00
Robin Dunn
c46c318c2f Add notes about XRCed changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 22:47:39 +00:00