]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agoset selection anchor to the focused item in SetItemState()
Vadim Zeitlin [Mon, 11 Feb 2008 20:16:23 +0000 (20:16 +0000)] 
set selection anchor to the focused item in SetItemState()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix for glib critical errors when closing an mdi child
Paul Cornett [Mon, 11 Feb 2008 17:39:06 +0000 (17:39 +0000)] 
fix for glib critical errors when closing an mdi child

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoimplement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
Vadim Zeitlin [Mon, 11 Feb 2008 16:03:23 +0000 (16:03 +0000)] 
implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for wxUSE_STL==1
Vadim Zeitlin [Mon, 11 Feb 2008 14:22:04 +0000 (14:22 +0000)] 
compilation fix for wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoapplying 1890924
Stefan Csomor [Mon, 11 Feb 2008 14:21:34 +0000 (14:21 +0000)] 
applying 1890924

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agosee http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/97537
Chris Elliott [Mon, 11 Feb 2008 08:59:59 +0000 (08:59 +0000)] 
see http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/97537

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix SF bug 1890890
Chris Elliott [Mon, 11 Feb 2008 08:29:23 +0000 (08:29 +0000)] 
fix SF bug 1890890

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoWhen Cocoa sends [tabView:didSelectTabViewItem:] create a page changed event
David Elliott [Mon, 11 Feb 2008 07:29:43 +0000 (07:29 +0000)] 
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/trunk@51650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomake wxGenericCollapsiblePane a wxControlContainer to allow keyboard navigation to...
Vadim Zeitlin [Mon, 11 Feb 2008 01:24:19 +0000 (01:24 +0000)] 
make wxGenericCollapsiblePane a wxControlContainer to allow keyboard navigation to and inside it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodocs for wxXLocale (should have been part of r51632)
Vadim Zeitlin [Mon, 11 Feb 2008 01:23:40 +0000 (01:23 +0000)] 
docs for wxXLocale (should have been part of r51632)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse CanAcceptFocus() instead of CanAcceptFocusFromKeyboard() when checking if we...
Vadim Zeitlin [Mon, 11 Feb 2008 01:21:46 +0000 (01:21 +0000)] 
use CanAcceptFocus() instead of CanAcceptFocusFromKeyboard() when checking if we should TAB into a child because the latter is not recursive and we do want to TAB into panels which don't have focus themselves but have children that do

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agono changes, just do the case of m_winLastFocused to wxRadioButton once instead of...
Vadim Zeitlin [Mon, 11 Feb 2008 00:14:54 +0000 (00:14 +0000)] 
no changes, just do the case of m_winLastFocused to wxRadioButton once instead of four times in wxMSW radiobutton navigation hack fragment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't use parent window of a TLW in HandleOnNavigationKey(), even if it's apparently...
Vadim Zeitlin [Mon, 11 Feb 2008 00:09:24 +0000 (00:09 +0000)] 
don't use parent window of a TLW in HandleOnNavigationKey(), even if it's apparently harmless it's wrong to involve the parent TLW in the code navigating inside this one

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agolog Unicode data correctly, extract the logging code in MyConnectionBase class instea...
Vadim Zeitlin [Sun, 10 Feb 2008 23:43:39 +0000 (23:43 +0000)] 
log Unicode data correctly, extract the logging code in MyConnectionBase class instead of quadriplicating it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agopass correct data size to DdeClientTransaction() in Unicode build
Vadim Zeitlin [Sun, 10 Feb 2008 23:27:00 +0000 (23:27 +0000)] 
pass correct data size to DdeClientTransaction() in Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoFix IA64 VC++ 8 Stable to be a full build.
Michael Wetherell [Sun, 10 Feb 2008 21:17:01 +0000 (21:17 +0000)] 
Fix IA64 VC++ 8 Stable to be a full build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoFix for systems with old non-POSIX awk.
Michael Wetherell [Sun, 10 Feb 2008 21:15:05 +0000 (21:15 +0000)] 
Fix for systems with old non-POSIX awk.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomention wxXLocale
Vadim Zeitlin [Sun, 10 Feb 2008 17:45:40 +0000 (17:45 +0000)] 
mention wxXLocale

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocast char values to unsigned char before passing them to CRT functions as MSVC CRT...
Vadim Zeitlin [Sun, 10 Feb 2008 17:43:43 +0000 (17:43 +0000)] 
cast char values to unsigned char before passing them to CRT functions as MSVC CRT asserts if passed a negative value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixed wxXLocale(wxLanguage) ctor under Windows, use it instead of ctor from locale...
Vadim Zeitlin [Sun, 10 Feb 2008 17:38:37 +0000 (17:38 +0000)] 
fixed wxXLocale(wxLanguage) ctor under Windows, use it instead of ctor from locale string in the test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix compilation with VC7
Vadim Zeitlin [Sun, 10 Feb 2008 17:18:04 +0000 (17:18 +0000)] 
fix compilation with VC7

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoreturn int, not wxUniChar, from wxTo{upp,low}er_l() for consistency with the standard...
Vadim Zeitlin [Sun, 10 Feb 2008 17:16:31 +0000 (17:16 +0000)] 
return int, not wxUniChar, from wxTo{upp,low}er_l() for consistency with the standard tow{upp,low}er()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for wxUSE_XLOCALE == 0
Vadim Zeitlin [Sun, 10 Feb 2008 17:10:15 +0000 (17:10 +0000)] 
compilation fix for wxUSE_XLOCALE == 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd check for wxUSE_XLOCALE (and also wxUSE_INTL which wasn't checked for some reason)
Vadim Zeitlin [Sun, 10 Feb 2008 17:08:44 +0000 (17:08 +0000)] 
add check for wxUSE_XLOCALE (and also wxUSE_INTL which wasn't checked for some reason)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and...
Vadim Zeitlin [Sun, 10 Feb 2008 17:03:23 +0000 (17:03 +0000)] 
add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and extended patch 1874287)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoupdate the samples to use new (non-deprecated) wxGLCanvas API; added more comments...
Vadim Zeitlin [Sun, 10 Feb 2008 13:26:01 +0000 (13:26 +0000)] 
update the samples to use new (non-deprecated) wxGLCanvas API; added more comments; some cleanup (modified patch 1882679)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoMove stackwalk.cpp and epolldispatcher.cpp to BASE_UNIX_AND_DARWIN_(SRC|HDR)
David Elliott [Sun, 10 Feb 2008 10:59:39 +0000 (10:59 +0000)] 
Move stackwalk.cpp and epolldispatcher.cpp to BASE_UNIX_AND_DARWIN_(SRC|HDR)
from BASE_UNIX_(SRC|HDR). The stackwalk.cpp works fine on Leopard (which
added backtrace) and epolldispatcher may work on a future OS X that
implements epoll.  Leave configure to determine whether or not the code is
appropriate for Darwin systems.  That is its purpose!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdd wxCocoa to the list of ports which don't need wxColour to derive from wxGDIObject.
David Elliott [Sun, 10 Feb 2008 07:20:29 +0000 (07:20 +0000)] 
Add wxCocoa to the list of ports which don't need wxColour to derive from wxGDIObject.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse correct locale in GetInfo() under Mac (slightly modified patch 1884290)
Vadim Zeitlin [Sun, 10 Feb 2008 00:11:56 +0000 (00:11 +0000)] 
use correct locale in GetInfo() under Mac (slightly modified patch 1884290)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxDebugContext::SetShutdownNotifyFunction() (patch 1887210)
Vadim Zeitlin [Sat, 9 Feb 2008 23:57:41 +0000 (23:57 +0000)] 
added wxDebugContext::SetShutdownNotifyFunction() (patch 1887210)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't close UDP socket if it receives an empty datagram (patch 1885472)
Vadim Zeitlin [Sat, 9 Feb 2008 23:51:38 +0000 (23:51 +0000)] 
don't close UDP socket if it receives an empty datagram (patch 1885472)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd GetMDIParent() and use it to reduce the number of casts in the MDI code (patch...
Vadim Zeitlin [Sat, 9 Feb 2008 23:37:07 +0000 (23:37 +0000)] 
add GetMDIParent() and use it to reduce the number of casts in the MDI code (patch 1885462)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoget wxSYS_COLOUR_MENU from a menu bar and not from a button (patch 1887197)
Vadim Zeitlin [Sat, 9 Feb 2008 23:35:16 +0000 (23:35 +0000)] 
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/trunk@51621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse generic file picker in wxFLP_SAVE case as the native one doesn't allow to select...
Vadim Zeitlin [Sat, 9 Feb 2008 23:30:47 +0000 (23:30 +0000)] 
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/trunk@51620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix signed/unsigned comparison warning
Vadim Zeitlin [Sat, 9 Feb 2008 22:52:50 +0000 (22:52 +0000)] 
fix signed/unsigned comparison warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove extraneous IncRef() from wxRichTextFontTable ctor (replaces patch 1884594)
Vadim Zeitlin [Sat, 9 Feb 2008 15:41:28 +0000 (15:41 +0000)] 
remove extraneous IncRef() from wxRichTextFontTable ctor (replaces patch 1884594)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded alpha support to wxImage::Paste() (patch 1883497, bug 1831612)
Vadim Zeitlin [Sat, 9 Feb 2008 15:32:04 +0000 (15:32 +0000)] 
added alpha support to wxImage::Paste() (patch 1883497, bug 1831612)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't lose the contents of the combobox if it was set to a value not in a list and...
Vadim Zeitlin [Sat, 9 Feb 2008 15:22:15 +0000 (15:22 +0000)] 
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/trunk@51616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't hardcode grey/white colours for non-MSW/Mac in InitColours(), use wxSystemSetti...
Vadim Zeitlin [Sat, 9 Feb 2008 15:10:13 +0000 (15:10 +0000)] 
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/trunk@51615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd wxUSE_WEAKREF (modified partially applied patch 1870445)
Vadim Zeitlin [Sat, 9 Feb 2008 14:40:26 +0000 (14:40 +0000)] 
add wxUSE_WEAKREF (modified partially applied patch 1870445)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodisable console targets for WinCE
Václav Slavík [Sat, 9 Feb 2008 11:04:50 +0000 (11:04 +0000)] 
disable console targets for WinCE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixed wxGTK assert when closing wxMessageDialog
Václav Slavík [Sat, 9 Feb 2008 10:39:08 +0000 (10:39 +0000)] 
fixed wxGTK assert when closing wxMessageDialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomaximize bug fixed
Benjamin Williams [Fri, 8 Feb 2008 13:55:57 +0000 (13:55 +0000)] 
maximize bug fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoFix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer...
David Elliott [Fri, 8 Feb 2008 09:12:04 +0000 (09:12 +0000)] 
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/trunk@51595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't redeclare wxYield() if it had been already declared to fix g++ warnings with...
Vadim Zeitlin [Fri, 8 Feb 2008 08:17:41 +0000 (08:17 +0000)] 
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/trunk@51592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoReword the comment again. I forgot to save before committing.
David Elliott [Fri, 8 Feb 2008 08:06:26 +0000 (08:06 +0000)] 
Reword the comment again.  I forgot to save before committing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoChange the __NEXT_RUNTIME__ test to __OBJC_GC__ which is what I really meant
David Elliott [Fri, 8 Feb 2008 08:04:46 +0000 (08:04 +0000)] 
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/trunk@51590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAvoid warnings in the Objective-C uniquifying code when running in GC mode.
David Elliott [Fri, 8 Feb 2008 04:24:35 +0000 (04:24 +0000)] 
Avoid warnings in the Objective-C uniquifying code when running in GC mode.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdd wxGCSafeRetain/wxGCSafeRelease to the vast majority of wxCocoa code.
David Elliott [Fri, 8 Feb 2008 00:35:39 +0000 (00:35 +0000)] 
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/trunk@51585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoInstead of using wxCFRetain/wxCFRelease directly for Objective-C objects add
David Elliott [Thu, 7 Feb 2008 23:37:30 +0000 (23:37 +0000)] 
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/trunk@51584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoRegenerate configure.
David Elliott [Thu, 7 Feb 2008 21:29:23 +0000 (21:29 +0000)] 
Regenerate configure.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdd in some support for separate CXXFLAGS and OBJCXXFLAGS.
David Elliott [Thu, 7 Feb 2008 20:59:50 +0000 (20:59 +0000)] 
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/trunk@51582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAvoid scrolling parts of the screen that don't belong to us
Julian Smart [Thu, 7 Feb 2008 14:16:19 +0000 (14:16 +0000)] 
Avoid scrolling parts of the screen that don't belong to us

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremoved unused SYMBOL_WXRICHTEXT.*_TITLE values that were only polluting translation...
Václav Slavík [Thu, 7 Feb 2008 12:33:00 +0000 (12:33 +0000)] 
removed unused SYMBOL_WXRICHTEXT.*_TITLE values that were only polluting translation files with untranslatable "titles" such as "wxRichTextBulletsPage"

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoFix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease...
David Elliott [Wed, 6 Feb 2008 20:10:07 +0000 (20:10 +0000)] 
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/trunk@51576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocorrection after the previous commit which introduced bug 1888014
Vadim Zeitlin [Wed, 6 Feb 2008 19:57:19 +0000 (19:57 +0000)] 
correction after the previous commit which introduced bug 1888014

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoReset scroll position when clearing buffer
Julian Smart [Wed, 6 Feb 2008 19:18:40 +0000 (19:18 +0000)] 
Reset scroll position when clearing buffer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix GetTLWParentIfNotBeingDeleted() to work correctly even if an intermediate non...
Vadim Zeitlin [Wed, 6 Feb 2008 13:56:23 +0000 (13:56 +0000)] 
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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoResolved ambiguity for VC 9
Julian Smart [Wed, 6 Feb 2008 08:45:55 +0000 (08:45 +0000)] 
Resolved ambiguity for VC 9

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoimplement (trivially) wxGLApp ctor
Vadim Zeitlin [Wed, 6 Feb 2008 00:25:43 +0000 (00:25 +0000)] 
implement (trivially) wxGLApp ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoFix the email notification's fromaddr.
Michael Wetherell [Tue, 5 Feb 2008 22:38:32 +0000 (22:38 +0000)] 
Fix the email notification's fromaddr.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoTry out email notifications, just to me initially.
Michael Wetherell [Tue, 5 Feb 2008 22:29:18 +0000 (22:29 +0000)] 
Try out email notifications, just to me initially.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoWhitespace fixes.
Michael Wetherell [Tue, 5 Feb 2008 22:26:23 +0000 (22:26 +0000)] 
Whitespace fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoAdd email address lookup table for wx devs.
Michael Wetherell [Tue, 5 Feb 2008 22:16:45 +0000 (22:16 +0000)] 
Add email address lookup table for wx devs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocall Show(false) from ~wxDialog to call EndModal if the dialog is still modal consist...
Václav Slavík [Tue, 5 Feb 2008 19:13:26 +0000 (19:13 +0000)] 
call Show(false) from ~wxDialog to call EndModal if the dialog is still modal consistently in all ports

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoClean up the tools for offline checking of the configuration.
Michael Wetherell [Tue, 5 Feb 2008 18:10:14 +0000 (18:10 +0000)] 
Clean up the tools for offline checking of the configuration.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix typo in warning message
Vadim Zeitlin [Tue, 5 Feb 2008 11:07:49 +0000 (11:07 +0000)] 
fix typo in warning message

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoStrip menu codes from page label for consistency with other platforms
Julian Smart [Tue, 5 Feb 2008 09:12:36 +0000 (09:12 +0000)] 
Strip menu codes from page label for consistency with other platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agolength passed to WideCharToMultiByte() was off by one in the last commit
Vadim Zeitlin [Tue, 5 Feb 2008 07:24:59 +0000 (07:24 +0000)] 
length passed to WideCharToMultiByte() was off by one in the last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoset eol-style LF on even more Unix-only files
Vadim Zeitlin [Mon, 4 Feb 2008 17:06:05 +0000 (17:06 +0000)] 
set eol-style LF on even more Unix-only files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoupdated list of aclocal m4 files
Václav Slavík [Mon, 4 Feb 2008 13:22:50 +0000 (13:22 +0000)] 
updated list of aclocal m4 files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoupgrade m4 files to bakefile 0.2.3
Vadim Zeitlin [Mon, 4 Feb 2008 13:21:23 +0000 (13:21 +0000)] 
upgrade m4 files to bakefile 0.2.3

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded links to wxWindowCreate/DestroyEvents
Vadim Zeitlin [Mon, 4 Feb 2008 10:34:17 +0000 (10:34 +0000)] 
added links to wxWindowCreate/DestroyEvents

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse BSTR length to also deal with NULs inside BSTRs correctly in Unicode build
Vadim Zeitlin [Mon, 4 Feb 2008 08:08:57 +0000 (08:08 +0000)] 
use BSTR length to also deal with NULs inside BSTRs correctly in Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse WideCharToMultiByte() instead of wcstombs() to deal with BSTRs containing NULs...
Vadim Zeitlin [Mon, 4 Feb 2008 08:04:39 +0000 (08:04 +0000)] 
use WideCharToMultiByte() instead of wcstombs() to deal with BSTRs containing NULs (modified patch 1886062)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded console IPC sample (part of patch 1833150)
Vadim Zeitlin [Mon, 4 Feb 2008 00:16:33 +0000 (00:16 +0000)] 
added console IPC sample (part of patch 1833150)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoundid change to GSocket::Select() done in r50831, do call select() here (part of...
Vadim Zeitlin [Sun, 3 Feb 2008 23:59:09 +0000 (23:59 +0000)] 
undid change to GSocket::Select() done in r50831, do call select() here (part of patch 1833150)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agouse wxSOCKET_REUSEADDR for IPC sockets (part of patch 1833150)
Vadim Zeitlin [Sun, 3 Feb 2008 23:55:48 +0000 (23:55 +0000)] 
use wxSOCKET_REUSEADDR for IPC sockets (part of patch 1833150)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoanother correction to indices used in StringToLines()
Vadim Zeitlin [Sun, 3 Feb 2008 23:43:58 +0000 (23:43 +0000)] 
another correction to indices used in StringToLines()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agowxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData...
Vadim Zeitlin [Sun, 3 Feb 2008 21:32:11 +0000 (21:32 +0000)] 
wxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData in wxGenericColourButton where it was copied from) (patch 1883375)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocorrect indices used in StringToLines() (modified patch 1882985)
Vadim Zeitlin [Sun, 3 Feb 2008 21:06:17 +0000 (21:06 +0000)] 
correct indices used in StringToLines() (modified patch 1882985)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd missing ! accidentally dropped in last commit
Paul Cornett [Sun, 3 Feb 2008 19:04:57 +0000 (19:04 +0000)] 
add missing ! accidentally dropped in last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoinitialize m_sharedContext and m_sharedContextOf to NULL when they're not used (patch...
Vadim Zeitlin [Sun, 3 Feb 2008 15:00:12 +0000 (15:00 +0000)] 
initialize m_sharedContext and m_sharedContextOf to NULL when they're not used (patch 1881968)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agono real changes, just added 2 virtual keywords to (already virtual) functions (signif...
Vadim Zeitlin [Sun, 3 Feb 2008 14:56:06 +0000 (14:56 +0000)] 
no real changes, just added 2 virtual keywords to (already virtual) functions (significant part of the patch 1881093)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxGLCanvas::IsDisplaySupported() (patch 1879906)
Vadim Zeitlin [Sun, 3 Feb 2008 14:55:05 +0000 (14:55 +0000)] 
added wxGLCanvas::IsDisplaySupported() (patch 1879906)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix for wchar_t-based builds after ParseISOXXX() additions
Vadim Zeitlin [Sun, 3 Feb 2008 14:38:11 +0000 (14:38 +0000)] 
compilation fix for wchar_t-based builds after ParseISOXXX() additions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agobuild fix for wxUSE_INTL==0 (patch 1878908)
Vadim Zeitlin [Sun, 3 Feb 2008 14:12:45 +0000 (14:12 +0000)] 
build fix for wxUSE_INTL==0 (patch 1878908)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodon't use negative sizes for row/column labels subwindows to avoid GTK warnings ...
Vadim Zeitlin [Sun, 3 Feb 2008 14:11:24 +0000 (14:11 +0000)] 
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/trunk@51522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agomake wxIdleEventHandler available in console applications too (patch 1878258)
Vadim Zeitlin [Sun, 3 Feb 2008 14:08:01 +0000 (14:08 +0000)] 
make wxIdleEventHandler available in console applications too (patch 1878258)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodocument AddAt() and IndexForItem() (patch 1877610)
Vadim Zeitlin [Sun, 3 Feb 2008 13:58:23 +0000 (13:58 +0000)] 
document AddAt() and IndexForItem() (patch 1877610)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded wxDateTime::FormatISOCombined() and ParseISODate/Time/Combined()
Vadim Zeitlin [Sun, 3 Feb 2008 13:04:56 +0000 (13:04 +0000)] 
added wxDateTime::FormatISOCombined() and ParseISODate/Time/Combined()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agocompilation fix with wxUSE_EXTENDED_RTTI==1
Vadim Zeitlin [Sun, 3 Feb 2008 12:24:05 +0000 (12:24 +0000)] 
compilation fix with wxUSE_EXTENDED_RTTI==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agogenerate include/wx/univ/setup0.h from setup_inc.h too
Vadim Zeitlin [Sun, 3 Feb 2008 12:20:06 +0000 (12:20 +0000)] 
generate include/wx/univ/setup0.h from setup_inc.h too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoRemove remnants of GTK1 accelerator code.
Paul Cornett [Sun, 3 Feb 2008 04:12:14 +0000 (04:12 +0000)] 
Remove remnants of GTK1 accelerator code.
Change deprecated gtk_menu_item_remove_submenu() to gtk_menu_item_set_submenu().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoremove unused wxMenuBar::m_style
Paul Cornett [Sun, 3 Feb 2008 02:43:48 +0000 (02:43 +0000)] 
remove unused wxMenuBar::m_style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofixed wxTextCtrl to not process clipboard events twice if there's a custom wxEVT_COMM...
Václav Slavík [Sat, 2 Feb 2008 22:29:19 +0000 (22:29 +0000)] 
fixed wxTextCtrl to not process clipboard events twice if there's a custom wxEVT_COMMAND_TEXT_* handler; move WM_PASTE/CUT/COPY processing to wxWindow where it belongs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoavoid GCC warnings about breaking strict aliasing rules
Paul Cornett [Sat, 2 Feb 2008 21:52:26 +0000 (21:52 +0000)] 
avoid GCC warnings about breaking strict aliasing rules

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoEnable best size caching, remove unnecessary GetLabel() and SetForegroundColour(),
Paul Cornett [Sat, 2 Feb 2008 21:33:51 +0000 (21:33 +0000)] 
Enable best size caching, remove unnecessary GetLabel() and SetForegroundColour(),
remove hack for non-left alignment, it does not seem to be needed anymore.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix wxALIGN_RIGHT in RTL mode
Paul Cornett [Sat, 2 Feb 2008 18:47:35 +0000 (18:47 +0000)] 
fix wxALIGN_RIGHT in RTL mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agolabel clipping hack is not needed for GTK+ >= 2.12
Paul Cornett [Sat, 2 Feb 2008 17:58:04 +0000 (17:58 +0000)] 
label clipping hack is not needed for GTK+ >= 2.12

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775