Commit Graph

43004 Commits

Author SHA1 Message Date
Vadim Zeitlin
0d29a4828e 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
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
067fd8b47e compilation fix for wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 14:22:04 +00:00
Stefan Csomor
eb0751b147 applying 1890924
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 14:21:34 +00:00
Chris Elliott
25645ca5b1 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
2008-02-11 08:59:59 +00:00
Chris Elliott
fe02497d70 fix SF bug 1890890
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 08:29:23 +00:00
David Elliott
ff9f352689 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
2008-02-11 07:29:43 +00:00
Vadim Zeitlin
68b1c87866 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
2008-02-11 01:24:19 +00:00
Vadim Zeitlin
47a407850e 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
2008-02-11 01:23:40 +00:00
Vadim Zeitlin
4453c7082f 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
2008-02-11 01:21:46 +00:00
Vadim Zeitlin
506f9e92cb 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
2008-02-11 00:14:54 +00:00
Vadim Zeitlin
391b16953a 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
2008-02-11 00:09:24 +00:00
Vadim Zeitlin
521d34369b 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
2008-02-10 23:43:39 +00:00
Vadim Zeitlin
b81885a6b6 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
2008-02-10 23:27:00 +00:00
Michael Wetherell
d91490a596 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
2008-02-10 21:17:01 +00:00
Michael Wetherell
fa5a0e7064 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
2008-02-10 21:15:05 +00:00
Vadim Zeitlin
8ffc2f063c mention wxXLocale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:45:40 +00:00
Vadim Zeitlin
ab431d9e3d 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
2008-02-10 17:43:43 +00:00
Vadim Zeitlin
f9727b1be5 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
2008-02-10 17:38:37 +00:00
Vadim Zeitlin
609ea9cf02 fix compilation with VC7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:18:04 +00:00
Vadim Zeitlin
a4e53d4658 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
2008-02-10 17:16:31 +00:00
Vadim Zeitlin
45f5fbd438 compilation fix for wxUSE_XLOCALE == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:10:15 +00:00
Vadim Zeitlin
149e70e123 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
2008-02-10 17:08:44 +00:00
Vadim Zeitlin
6e4ae332ac 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
2008-02-10 17:03:23 +00:00
Vadim Zeitlin
451c13c85c 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
2008-02-10 13:26:01 +00:00
David Elliott
845035287a 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
2008-02-10 10:59:39 +00:00
David Elliott
7234425be1 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
2008-02-10 07:20:29 +00:00
Vadim Zeitlin
82de050cc3 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
2008-02-10 00:11:56 +00:00
Vadim Zeitlin
6dfbea27b9 added wxDebugContext::SetShutdownNotifyFunction() (patch 1887210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:57:41 +00:00
Vadim Zeitlin
01c0355483 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
2008-02-09 23:51:38 +00:00
Vadim Zeitlin
55ae15512c 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
2008-02-09 23:37:07 +00:00
Vadim Zeitlin
3ab6b7e64c 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
2008-02-09 23:35:16 +00:00
Vadim Zeitlin
4db3720881 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
2008-02-09 23:30:47 +00:00
Vadim Zeitlin
6214812cad fix signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 22:52:50 +00:00
Vadim Zeitlin
b8e58b85d9 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
2008-02-09 15:41:28 +00:00
Vadim Zeitlin
14678d6d22 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
2008-02-09 15:32:04 +00:00
Vadim Zeitlin
5de69dd366 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
2008-02-09 15:22:15 +00:00
Vadim Zeitlin
ba959d4c98 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
2008-02-09 15:10:13 +00:00
Vadim Zeitlin
4732e2dca9 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
2008-02-09 14:40:26 +00:00
Václav Slavík
b721db1057 disable console targets for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 11:04:50 +00:00
Václav Slavík
0af07cc245 fixed wxGTK assert when closing wxMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 10:39:08 +00:00
Benjamin Williams
3b58a20550 maximize bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 13:55:57 +00:00
David Elliott
29fbbf8967 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
2008-02-08 09:12:04 +00:00
Vadim Zeitlin
a131b460ac 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
2008-02-08 08:17:41 +00:00
David Elliott
7a71aa1402 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
2008-02-08 08:06:26 +00:00
David Elliott
74b57569a3 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
2008-02-08 08:04:46 +00:00
David Elliott
49bd8fd291 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
2008-02-08 04:24:35 +00:00
David Elliott
6a5c31c285 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
2008-02-08 00:35:39 +00:00
David Elliott
6ecc2922da 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
2008-02-07 23:37:30 +00:00
David Elliott
64d975b280 Regenerate configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 21:29:23 +00:00
David Elliott
584f0a5dd7 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
2008-02-07 20:59:50 +00:00