Commit Graph

43182 Commits

Author SHA1 Message Date
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
Julian Smart
6e3f26d842 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
2008-02-07 14:16:19 +00:00
Václav Slavík
5d2788a3e2 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
2008-02-07 12:33:00 +00:00
David Elliott
ddfdef64fa 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
2008-02-06 20:10:07 +00:00
Vadim Zeitlin
627c8d8993 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
2008-02-06 19:57:19 +00:00
Julian Smart
495a248e54 Reset scroll position when clearing buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 19:18:40 +00:00
Vadim Zeitlin
9617f65bcc 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
2008-02-06 13:56:23 +00:00
Julian Smart
1fcca711af Resolved ambiguity for VC 9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 08:45:55 +00:00
Vadim Zeitlin
1c2697717a implement (trivially) wxGLApp ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 00:25:43 +00:00
Michael Wetherell
58faf9dde9 Fix the email notification's fromaddr.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 22:38:32 +00:00
Michael Wetherell
274e715714 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
2008-02-05 22:29:18 +00:00
Michael Wetherell
d8929a6175 Whitespace fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 22:26:23 +00:00
Michael Wetherell
42d93b83c0 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
2008-02-05 22:16:45 +00:00
Václav Slavík
a9efc294a9 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
2008-02-05 19:13:26 +00:00
Michael Wetherell
8ab43d1ba8 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
2008-02-05 18:10:14 +00:00
Vadim Zeitlin
2a42489430 fix typo in warning message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 11:07:49 +00:00
Julian Smart
f96524a0f6 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
2008-02-05 09:12:36 +00:00
Vadim Zeitlin
7b3575a98f 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
2008-02-05 07:24:59 +00:00
Vadim Zeitlin
4d0b184b99 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
2008-02-04 17:06:05 +00:00
Václav Slavík
437a516b1a updated list of aclocal m4 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 13:22:50 +00:00
Vadim Zeitlin
5b8deabaf4 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
2008-02-04 13:21:23 +00:00
Vadim Zeitlin
54797e6de3 added links to wxWindowCreate/DestroyEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-04 10:34:17 +00:00
Vadim Zeitlin
59af032ab6 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
2008-02-04 08:08:57 +00:00