Commit Graph

40286 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
30b001e3af don't redeclare wxYield() if it had been already declared to fix g++ warnings with -Wredundant-decls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:17:41 +00:00
David Elliott
1be61dfe2d Reword the comment again. I forgot to save before committing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:06:26 +00:00
David Elliott
7f6224c05e Change the __NEXT_RUNTIME__ test to __OBJC_GC__ which is what I really meant
but I had to look up which preprocessor define was emitted by -fobjc-gc.
Also improve the comments a bit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:04:46 +00:00
David Elliott
ff544956a5 Avoid warnings in the Objective-C uniquifying code when running in GC mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 04:24:35 +00:00
David Elliott
08433260e8 Add wxGCSafeRetain/wxGCSafeRelease to the vast majority of wxCocoa code.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 00:35:39 +00:00
David Elliott
f42fc2c1a7 Instead of using wxCFRetain/wxCFRelease directly for Objective-C objects add
new wxGCSafeRetain/wxGCSafeRelease functions which are specific to Objective-C
objects and can be compile-time switched to standard retain/release without
breaking wxCFRetain/wxCFRelease for CF objects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 23:37:30 +00:00
David Elliott
0b2ad6e81a Regenerate configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 21:29:23 +00:00
David Elliott
519dd9111f Add in some support for separate CXXFLAGS and OBJCXXFLAGS.
Add -DWX_PRECOMP to CXXFLAGS instead of CPPFLAGS.
Combined with very slight Bakefile changes to use OBJCXXFLAGS, this greatly improves the wxCocoa build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 20:59:50 +00:00
Julian Smart
b7fd84915d Show 3D border on XP Classic theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 16:42:22 +00:00
Julian Smart
d646b8d6c7 Avoid scrolling parts of the screen that don't belong to us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 14:15:45 +00:00
David Elliott
78b65191d6 Fix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease in wxObjcAutoRef.
Actually use wxObjcAutoRef for the wxNSViewNotificationObserver singleton to keep it from being finalized.

Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 20:10:07 +00:00
Vadim Zeitlin
3d4b579bd8 correction after the previous commit which introduced bug 1888014 [backport of r51574 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 19:58:30 +00:00
Julian Smart
b850bbe616 Reset scroll position when clearing buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 19:18:25 +00:00
Vadim Zeitlin
006988d24f fix GetTLWParentIfNotBeingDeleted() to work correctly even if an intermediate non-TLW parent is being deleted, it should still return the TLW parent and not NULL in this case, otherwise we'd crash when a button child of a panel being deleted is current temporary default button [backport of r51570 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 14:20:22 +00:00
Julian Smart
bc11931c4e Strip menu codes from page label for consistency with other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 09:12:12 +00:00
Vadim Zeitlin
887f53ddf6 length passed to WideCharToMultiByte() was off by one in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 07:24:59 +00:00
Vadim Zeitlin
9b0956b277 set eol-style LF on even more Unix-only files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 17:05:54 +00:00
Vadim Zeitlin
f3282c3e51 set eol-style LF on more Unix-only files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 16:58:38 +00:00
Vadim Zeitlin
a129b6d15a use BSTR length to also deal with NULs inside BSTRs correctly in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 08:08:57 +00:00
Vadim Zeitlin
6b5f2e44c1 use WideCharToMultiByte() instead of wcstombs() to deal with BSTRs containing NULs (modified patch 1886062)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 08:04:39 +00:00
Vadim Zeitlin
918a6614fa another correction to indices used in StringToLines()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 23:43:58 +00:00
Vadim Zeitlin
c0d550ed92 correct indices used in StringToLines() (modified patch 1882985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 21:06:17 +00:00
Vadim Zeitlin
4e370c7f2a set svn:eol-style to LF [backport of r50845 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 17:08:41 +00:00
Vadim Zeitlin
fcaa9a6e30 build fix for wxUSE_INTL==0 (patch 1878908)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:12:45 +00:00
Vadim Zeitlin
3aac5b45ea don't use negative sizes for row/column labels subwindows to avoid GTK warnings (patch 1878512)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:11:24 +00:00
Vadim Zeitlin
807eac818a make XPM data const to avoid warnings from mingw 4.0 (patch 1874995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 13:48:11 +00:00
Václav Slavík
285900728d fixed wxTextCtrl to not process clipboard events twice if there's a custom wxEVT_COMMAND_TEXT_* handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-02 14:07:19 +00:00
Michael Wetherell
f8f925e0a9 Compile fix when 2.6 compatibility on and --without-zlib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 16:44:56 +00:00