Commit Graph

10365 Commits

Author SHA1 Message Date
David Elliott
729535acbe Merged trunk 47598:
wxCocoa: Basic support for font underlining:
* Make wxWindow::SetFont call wxWindowBase::SetFont.
* Make wxDC::SetFont store the font in existing m_font.
* Make wxFont::GetUnderlined return the m_underlined flag.
* Implement underlining in wxDC::DoDrawText
Copyright 2007, Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 19:47:02 +00:00
David Elliott
eb6e94c125 Merged trunk 47585:
Implement wxWindow::SetCursor to invalidate Cocoa's cursor rects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 05:47:19 +00:00
David Elliott
5c40864f51 Merged trunk 47523, 47567, 47569 (full wxRadioBox implementation):
* Partially implement wxRadioBox for wxCocoa.
* Implement most of wxRadioBox's methods.
* Implement wxCocoa wxRadioBox event.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:48:55 +00:00
David Elliott
a735b922c9 Merged trunk 47568:
Make wxRadioButton::SetValue(true) deselect all other wxRadioButton in its group if it is part of a group.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:44:59 +00:00
David Elliott
f4bf53c757 Merged 46227 from trunk (Note:CVS):
Allow many Objective-C classes to be uniquified at runtime.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:49:41 +00:00
David Elliott
f9f9b40c64 Merged 46116 from trunk (NOTE: CVS):
* Add public wxApp::sm_isEmbedded flag like on wxMac.  Default initialization
  to true but a plugin can set it to false to cause wxCocoa to not initialize
  things like the application delegate or the menubar manager.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:30:31 +00:00
David Elliott
428424f525 Merged modified 46013 from svn trunk (NOTE: CVS).
Rework idle handling so that NSApplication does not need to be subclassed or posed as.
Copyright Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 21:14:45 +00:00
David Elliott
f5d9bc0a49 Provide versioning for backport of 46117 (wxLog::DoCreateOnDemand).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 20:25:10 +00:00
Vadim Zeitlin
ed3c1af165 use wxLongLong::ToLong() and not GetLo() to extract time_t value in GetTicks(): they are very different on 64 bit platforms [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:48:10 +00:00
David Elliott
65f7483bd6 Merged 47182 from svn trunk:
Make wxCocoa compile in 64-bit mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 03:06:22 +00:00
David Elliott
4084e91fe6 Merged 46226 from svn trunk (Note: CVS):
Add implementation of Objective-C class name uniquifying.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 02:49:34 +00:00
David Elliott
8729117682 Merged 46117 from trunk. (Note: CVS):
Add a wxLog::DoCreateOnDemand and call it from DoCommonPreInit so that
logging will work even if wxWidgets is reentered after being cleaned up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 02:36:29 +00:00
David Elliott
40d19e2b59 Merged 47384 from svn trunk:
Improve static_cfref_cast so that it can be used without causing an unnecessary retain/release in the case when one is only using the cast to convert to a more-derived raw CF ref type.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:46:46 +00:00
David Elliott
2d654f593f Merged 47226 from trunk:
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which causes too much namespace pollution.
Instead, declare the CFTypeRef type and the CFRelease and CFRetain functions.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:44:57 +00:00
David Elliott
8933152887 Merged (slightly modified to maintain ABI compatibility) r45554 from trunk (Note: CVS):
Remove Objective-C class posing for everything except for NSApplication.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 21:17:27 +00:00
Robin Dunn
005638a1d7 Bump sub-release number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:53:29 +00:00
David Elliott
a73e1b2d97 Merged r45553 from trunk (note: CVS):
Move Objective-C interfaces into separate header files in preparation for being able
to use them from other source files.
No new or changed code.  Work on behalf of Software 2000 Ltd.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 20:46:00 +00:00
Vadim Zeitlin
d88636da66 use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:43:06 +00:00
Michael Wetherell
bcfabaa871 Fix missing exports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 07:44:19 +00:00
Vadim Zeitlin
056ae23eeb fix the memory corruption in multiline controls due to wrong WrapLines() implementation [backport of rev 45343]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 21:37:36 +00:00
Julian Smart
33fac1eaf7 Added SetBitmap, GetBitmap to wxWizard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:17 +00:00
Julian Smart
21f7b53d4f Replaced tabs with spaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 07:50:00 +00:00
Benjamin Williams
c007ebeaca in wxAuiNotebook, prevent unwanted page selection changes during tab drags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-01 15:11:35 +00:00
Julian Smart
909fa782a9 Prevent seg fault for older GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 16:59:23 +00:00
Benjamin Williams
b34b4a9be7 added middle-click close to wxAuiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 16:46:41 +00:00
Julian Smart
8dc797d705 Added font setting and ability to determine AUI notebook height for a given page height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 15:07:51 +00:00
Vadim Zeitlin
4ab9366fc1 no changes, just replaced TAB with spaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 14:44:43 +00:00
Julian Smart
f7cf8da78e Added DetachOldLog to avoid destruction of old log target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-21 12:34:32 +00:00
Václav Slavík
9f50431f18 improve XRC loading performance on Unix by avoiding MIME database loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:37:40 +00:00
Vadim Zeitlin
b060ae7de4 added wxDocument::GetUserReadableName() for forward compatibility with 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 12:53:56 +00:00
Stefan Csomor
dd8fb0aa37 making spell checking selectable via system options, Bug 1736428
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-14 21:59:28 +00:00
Stefan Csomor
af81408a3e fixes for popupwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 22:55:58 +00:00
Stefan Csomor
d3521487d4 universal os x fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 04:05:37 +00:00
Stefan Csomor
cc10fcc4a8 universal os x fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-13 03:46:20 +00:00
Julian Smart
6468e29b37 Init fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 20:28:50 +00:00
Stefan Csomor
3a9b6f8275 better param type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 06:57:22 +00:00
Stefan Csomor
876da30ac3 uma versions for tiger only calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-07 05:34:42 +00:00
Michael Wetherell
243ad5c89e Add to patch 1671804 (menu alignment for VC6) so that it does work, and move
it to msw/missing.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 16:40:12 +00:00
Julian Smart
56df653964 Don't crash if failing to convert text on write
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-05 13:16:11 +00:00
Vadim Zeitlin
72115a3034 mingw32 doesn't define _tsystem so provide one ourselves (bug 1726904) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 23:03:51 +00:00
Vadim Zeitlin
fce88a4c47 initialize wxListItem::m_image to -1 (which means no image), not 0 (bug 1727909) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-03 22:38:28 +00:00
Robin Dunn
d0e0b73c37 bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-02 23:57:20 +00:00
Stefan Csomor
a684b88f30 bitmap support factored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 04:19:39 +00:00
Stefan Csomor
2693d8c121 scrap implementation changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-23 04:17:59 +00:00
Stefan Csomor
6196dabfb0 cocoa bridge added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-22 17:19:40 +00:00
Stefan Csomor
041b2ce47b adding correct assignement and copy constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 20:26:40 +00:00
Stefan Csomor
5433c25fc2 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 19:21:50 +00:00
Stefan Csomor
f919acdc41 event handlers get deallocated automatically with their object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-21 12:45:15 +00:00
Stefan Csomor
38c44d30d5 switching from old to new API for datatransfer (pasteboard)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-20 17:37:08 +00:00
Vadim Zeitlin
ce631c0b13 1. Override DoGetTextExtent() in wxMetafileDC instead of redefining (unused)
GetTextExtent()
2. Do use the provided font in it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 15:14:44 +00:00