Commit Graph

40921 Commits

Author SHA1 Message Date
Julian Smart
555accf41f Two bug fixes for FindWrapPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 07:57:16 +00:00
Julian Smart
33f0828996 Speeded up wrapping (again), this time using partial text extents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 15:25:59 +00:00
Paul Cornett
c60eb134fd fix child window redraw glitches during scrolling (bug 1944002)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:44:17 +00:00
Václav Slavík
2e1f8b15ae implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:10:04 +00:00
Václav Slavík
b38e4d6f23 fixed wxMac's wxListCtrl::SetColumnWidth(-1, ...) to really set width for every column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 20:28:27 +00:00
Julian Smart
4e42bc75f6 Fix for slow first character insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 19:06:39 +00:00
Václav Slavík
f198b24343 fixed wxHyperlinkCtrl XRC handler to not crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 11:39:16 +00:00
Vadim Zeitlin
813838abc9 replace inexistent wxTBK_DEFAULT with wxBK_DEFAULT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-19 21:56:10 +00:00
Stefan Csomor
40d3158d55 1945421 applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:06:16 +00:00
Michael Wetherell
bdbfedab84 Backport getgrgid_r fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 17:29:22 +00:00
Robert Roebling
8b95d6a8f9 [ 1942756 ] wxImage:SaveFile() returns true instead of result of subcall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 15:10:20 +00:00
Robin Dunn
11d774e47d Also set wxHAVE_RAW_BITMAP for Mac and GTK2, use it in wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 18:41:43 +00:00
Vadim Zeitlin
77a0f3d154 fix bug when appending string to itself (closes bug 1942116) [backport of r48302 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 16:05:50 +00:00
Václav Slavík
87be8ad315 fixed incorrect layout width caching in wxHtmlContainerCell (patch #1931479)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:29:53 +00:00
Václav Slavík
3657a5a4d8 Fixed IMPLEMENT_APP() to be compatible with the -WU flag of Borland C++ (patch #1935997)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:17:37 +00:00
Vadim Zeitlin
ffdf14fca4 use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT to avoid newer mingw32 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 02:31:04 +00:00
Vadim Zeitlin
2434c0104c ENDSESSION_LOGOFF is a bit flag, test for it using bit end and not equality in WM_ENDSESSION handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 17:56:30 +00:00
Václav Slavík
2411da816d compilation fix for newest DirectFB versions (patch #1939443 by Anders Larsen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 17:58:44 +00:00
Julian Smart
b99e1e15be Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 14:05:25 +00:00
Stefan Neis
df5e687a53 Added IMPLEMENT_DYNAMIC_CLASS for wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-09 21:25:28 +00:00
Julian Smart
16dc7f8834 Try standard XDG location for documents directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 13:51:17 +00:00
Julian Smart
a6a5ab2472 Don't send event from ChangeValue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 11:04:39 +00:00
Kevin Ollivier
77da448aff Since we use C-style casts to grab the pointer from an item id, we can return an invalid item if the control has extra items appended.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 00:31:44 +00:00
Vadim Zeitlin
47788d7b6c don't ask for bounding rectangle of a hidden root, this fixes a crash introduced by the previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 20:12:57 +00:00
Julian Smart
08013d598e Avoid the use font setters to avoid any memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 12:25:08 +00:00
Vadim Zeitlin
2a62904f60 added a note about entry point in Unicode build (patch 1934836)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:01:01 +00:00
Vadim Zeitlin
691ed559c9 use background colour, not WINDOW_COLOR, in OnDrawItem() (patch 1934179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:57:54 +00:00
Vadim Zeitlin
4934cef8fe refresh the item after adding its first child as, apparently, otherwise the '+' is not always drawn immediately (patch 1927179)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:37:52 +00:00
Vadim Zeitlin
21723122cb reset m_selection in DeleteAllPages() (patch 1922215); some cleanup of DoRemovePage() in trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:14:25 +00:00
Chris Elliott
432e43582d SF bug 1895101
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 09:31:01 +00:00
Vadim Zeitlin
619b3b447a use wxCHECK instead of wxASSERT in Alloc() to avoid crashing when (trying to) use strings of length close to INT_MAX (bug 1933693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:54:02 +00:00
Vadim Zeitlin
c336299eb6 don't crash in ReadString() if the length read from the stream is too big (bug 1933560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:28:32 +00:00
Robin Dunn
2bbbb7892f Fix AdjustForOverflow to use item->CalcMin, not item->GetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 23:28:16 +00:00
Václav Slavík
f4e1026261 Fixed timing of malformed animated GIFs in wxHTML (patch #1926825 by Gennady Feller)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 18:55:46 +00:00
Vadim Zeitlin
3d8b2865a1 replace wrong wxUSE_DYNAMIC_LOADER test with the correct wxUSE_DYNLIB_CLASS one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 12:47:16 +00:00
Robin Dunn
f9ce2a0f19 fix warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 03:33:38 +00:00
Robin Dunn
b23effe830 Fix for potential layout glitches in wxGridBagSizer when items span cells but
some other item affects the size of one of spanned rows/cols.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 02:45:07 +00:00
Václav Slavík
d37ce8aaa7 backported wxXmlNode::InsertChildAfter and its use during XML parsing to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 10:06:54 +00:00
Julian Smart
ccae5408e6 Only update the toolbar buttons if the toolbar is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 10:03:40 +00:00
Václav Slavík
ea0fabb19a changing label invalidates best size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 09:36:53 +00:00
Vadim Zeitlin
5ca19fa62c improve best height calculation for empty listbox [backport of r52927 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 16:39:53 +00:00
Václav Slavík
697d268c05 fixed wxXmlNode::InsertChild() documentation to match the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 22:57:45 +00:00
Vadim Zeitlin
56c263be0b fixed typo (extra underscore) in wxEVT_COMMAND_LISTBOXDOUBLECLICKED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:17:42 +00:00
Vadim Zeitlin
b79ed636b8 don't blit too much when copying static box border in OnPaint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 13:03:02 +00:00
Vadim Zeitlin
c0f482da5b don't use gtk_notebook_insert_page() return value as some old GTK+ versions (the one in Solaris 9 for instance) don't have it; also don't use gtk_notebook_get_nth_page() which we need this return value for at all in the trunk as it seems to be unnecessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:28:45 +00:00
Václav Slavík
0ed3d9f17a fixed focus related regression in wxListCtrl's wxTextCtrl handling after r52476
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 23:45:20 +00:00
Julian Smart
be3a59f269 Added GetId() to Connect to ensure only the relevant events are processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:49:08 +00:00
Julian Smart
c8de719de2 Fixed selection clearing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 08:47:58 +00:00
Vadim Zeitlin
a954b0dd20 fix crash when pressing Up key in empty combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 20:20:46 +00:00
Václav Slavík
3bf1d42654 fixed TABs positioning inside <pre> so that tags don't throw it apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 21:19:47 +00:00