Commit Graph

40664 Commits

Author SHA1 Message Date
Julian Smart
b203a2d7d2 Fixed an XML parsing error for complex URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 12:09:31 +00:00
Julian Smart
924edb1897 Removed unnecessary include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 11:15:07 +00:00
Stefan Neis
179c53bbaa Backported bitmap drawing under Win9x and 2000 (not supporting alpha
transparency) from r51031 (modified patch 1761598).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 01:59:21 +00:00
Stefan Csomor
8cba764cef better implementation from VZ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 20:46:02 +00:00
Julian Smart
1dff884202 Set default attributes after a SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:41:38 +00:00
Stefan Csomor
2baa0b125b applying patch 1894478
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 15:33:38 +00:00
Vadim Zeitlin
7e4170e8b7 compilation fix for TRACE_MASK after last change (replaces patch 1894434)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 13:14:49 +00:00
David Elliott
b00bf6e49e Better listbox scrollbar behavior.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 23:34:48 +00:00
David Elliott
00a7dfee85 Hack: force a vertical scroller on wxListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 22:54:20 +00:00
David Elliott
339d6db705 Ensure that the (separate on 2.8 branch) message dialog style gets set when constructing wxCocoa's message dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 21:31:18 +00:00
David Elliott
f033c4562a Move wxWindowCocoaScrollView class into its own header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 20:40:16 +00:00
David Elliott
bf064fec60 More GC fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 19:46:21 +00:00
Stefan Csomor
1bd09d0950 making the wxContainer select the text field for first child focus instead of choice, so that we have always the same behaviour, since text fields are always focusable, choices only with full keyboard access...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 17:14:27 +00:00
Julian Smart
9723d04855 Cut down on unnecessary update events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:11:48 +00:00
Julian Smart
d95647e65e Performance optimization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:01:02 +00:00
Paul Cornett
031ce0e940 backport r49252, use a GtkAlignment to set size of toolbar controls, instead of trying to "correct" size_allocate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 05:31:03 +00:00
Vadim Zeitlin
41bbc56e13 mention fix for the column index in the column right-click event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:09:20 +00:00
Vadim Zeitlin
6bc4157b6e use header window coordinates when searching for the right-clicked column (bug 1879009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 23:07:30 +00:00
Vadim Zeitlin
cc6d111a24 set listview extended styles after switching to report view and not only when creating it (bug 1874996) [backport of 51390 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:46:30 +00:00
Vadim Zeitlin
53b974d86c don't define TRACE_MASK if it's not used (fixes gcc warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:43:31 +00:00
Vadim Zeitlin
6cdb1386bd fix gcc format string warning and simplify the code a little as was already done in the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:42:45 +00:00
Vadim Zeitlin
ed4b62eaba don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:39:32 +00:00
Vadim Zeitlin
3d0ae18d75 initialize the colour to be invalid if the name passed to the ctor is invalid (bug 1891235)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:36:43 +00:00
David Elliott
b0788b27ae Fix (at least) slider action messages in GC mode.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 20:30:36 +00:00
David Elliott
6dede16a71 If aWxString.fn_str() is used as the argument to wxStat then wxStat should not
be used at all because wxStat is looking for a wxChar* that it will pass
through wxConvFile whereas fn_str() effectively returns a char* suitable for
use directly with the real function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 20:24:06 +00:00
Julian Smart
359c789d6b Make sure paragraph style is reset before applying a new style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 19:26:33 +00:00
Stefan Neis
9d8cbef00e Blind fix to improve wx-config's Bourne shell compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 18:42:04 +00:00
Julian Smart
4b9bf89977 Implemented selection using shift left click
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 17:17:32 +00:00
Paul Cornett
0b9852a90e make sure client area is refreshed after last child frame is closed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 16:57:44 +00:00
Julian Smart
b402ac436c Fixed undo batching
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 16:27:49 +00:00
Julian Smart
35e93e199f Further fixes, for selected text display and new paragraph insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:37 +00:00
Paul Cornett
592476a384 backport r51481, fix for GTK assertion from gtk_widget_set_colormap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 06:58:35 +00:00
Paul Cornett
5dc5366512 fix assert at startup on non-MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 04:39:59 +00:00
Julian Smart
af5f42f506 Fixed several style, paste and undo bugs
Added a reload function to the sample for quickly restoring original text


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 17:05:32 +00:00
Stefan Csomor
aab329d19f adding filename conversion for wxStat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 13:16:30 +00:00
Vadim Zeitlin
fb6eab9ecb update m_lastcount correctly in wxBufferedInputStream::Read() when using the buffer associated with another stream and not created by this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 20:23:29 +00:00
Vadim Zeitlin
3fc67306a4 implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Stefan Csomor
c0faf10639 applying 1890924
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 15:19:53 +00:00
David Elliott
cbc3b98b2b When Cocoa sends [tabView:didSelectTabViewItem:] create a page changed event
instead of a page changing event and actually send it.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 07:29:43 +00:00
Vadim Zeitlin
a419db5e61 Unicode compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 14:41:34 +00:00
Vadim Zeitlin
bd73a91b55 fix compilation after last change: wxCFStringRef doesn't exist in 2.8, wxMacCFStringHolder does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 12:56:02 +00:00
Vadim Zeitlin
e0c3d1e0d5 backported Mac version of GetInfo() from trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 00:12:55 +00:00
Vadim Zeitlin
b03cf964a3 don't close UDP socket if it receives an empty datagram (patch 1885472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:51:38 +00:00
Vadim Zeitlin
46915bd68a get wxSYS_COLOUR_MENU from a menu bar and not from a button (patch 1887197)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:35:16 +00:00
Vadim Zeitlin
4e825bab21 use generic file picker in wxFLP_SAVE case as the native one doesn't allow to select non-existent files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:30:47 +00:00
Vadim Zeitlin
1988baa62b added alpha support to wxImage::Paste() (patch 1883497, bug 1831612)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:32:04 +00:00
Vadim Zeitlin
d05d5c1687 don't lose the contents of the combobox if it was set to a value not in a list and a popup has been opened and closed (patch 1883474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:22:15 +00:00
Vadim Zeitlin
be0d2b4b11 don't hardcode grey/white colours for non-MSW/Mac in InitColours(), use wxSystemSettings for all ports (even if some of them, such as wxGTK, still hardcode white for wxSYS_COLOUR_3DHILIGHT) (replaces patch 1883386)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:10:13 +00:00
Benjamin Williams
326ed6e95e maximize bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 13:55:30 +00:00
David Elliott
caea5ecdc0 Fix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer that it is in that mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 09:12:04 +00:00