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
Vadim Zeitlin
bba85010a3
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
2008-02-04 08:04:39 +00:00
Vadim Zeitlin
ebe887ed03
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
2008-02-04 00:16:33 +00:00
Vadim Zeitlin
cf86dc50e0
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
2008-02-03 23:59:09 +00:00
Vadim Zeitlin
b0e3e682f2
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
2008-02-03 23:55:48 +00:00
Vadim Zeitlin
2eafd712f1
another correction to indices used in StringToLines()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 23:43:58 +00:00
Vadim Zeitlin
3fc69ebc38
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
2008-02-03 21:32:11 +00:00
Vadim Zeitlin
696f3e9dd0
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
2008-02-03 21:06:17 +00:00
Paul Cornett
e3041f4af0
add missing ! accidentally dropped in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 19:04:57 +00:00
Vadim Zeitlin
21562ad223
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
2008-02-03 15:00:12 +00:00
Vadim Zeitlin
5ffd2ea09e
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
2008-02-03 14:56:06 +00:00
Vadim Zeitlin
3f20f7d8a3
added wxGLCanvas::IsDisplaySupported() (patch 1879906)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:55:05 +00:00
Vadim Zeitlin
a0bcd61bbc
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
2008-02-03 14:38:11 +00:00
Vadim Zeitlin
beee6bf864
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
2008-02-03 14:12:45 +00:00
Vadim Zeitlin
c1841ac2e3
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
2008-02-03 14:11:24 +00:00