Commit Graph

43054 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
85ee624151 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
2008-02-03 14:08:01 +00:00
Vadim Zeitlin
6b837d4c40 document AddAt() and IndexForItem() (patch 1877610)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 13:58:23 +00:00
Vadim Zeitlin
f3f2e255b4 added wxDateTime::FormatISOCombined() and ParseISODate/Time/Combined()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 13:04:56 +00:00
Vadim Zeitlin
c20d5805aa compilation fix with wxUSE_EXTENDED_RTTI==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 12:24:05 +00:00
Vadim Zeitlin
3b7c589c55 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
2008-02-03 12:20:06 +00:00
Paul Cornett
6f536f31df 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
2008-02-03 04:12:14 +00:00
Paul Cornett
16487a6fde remove unused wxMenuBar::m_style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 02:43:48 +00:00
Václav Slavík
b65f16dabd 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
2008-02-02 22:29:19 +00:00
Paul Cornett
e8769ed11c 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
2008-02-02 21:52:26 +00:00
Paul Cornett
7f85af8223 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
2008-02-02 21:33:51 +00:00
Paul Cornett
a1a48c8a95 fix wxALIGN_RIGHT in RTL mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-02 18:47:35 +00:00
Paul Cornett
357b1b5292 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
2008-02-02 17:58:04 +00:00
Václav Slavík
7e7bc14b51 eliminate code duplication in wxSizer::Fit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 23:14:45 +00:00
Václav Slavík
02dc0099cb fixed RR's change of wxSizer::Fit to set client size (r50717) to not be completely broken; it no longer confuses client and window sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 22:28:10 +00:00