Stefan Csomor
6287620649
making sure we never have a grow box overlapping a scrollbar [1758336]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:11:41 +00:00
Stefan Csomor
8002d90bef
making sure we never have a grow box overlapping a scrollbar [1758336]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:09:19 +00:00
Stefan Csomor
188b7013e8
implementing wxALWAYS_SHOW_SB from 1744665
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 17:08:28 +00:00
Robin Dunn
b63b53820a
Allow supporting more than one version of Python at a time, if python-central is available and
...
installed in the Debian distro, and if it specifies that more than one version should be supported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 15:51:36 +00:00
Julian Smart
e738283be2
Avoid a hang if we're dragging a tab to a notebook that's a child of the original tab
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 12:23:15 +00:00
Stefan Csomor
52ec12df36
correcting my last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 04:42:48 +00:00
Stefan Csomor
f3869c8030
applying 1741073
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 15:20:58 +00:00
Stefan Csomor
c27d4c699f
restricting mouse-wheel support to y axis only, trunk is having both dimensions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 15:03:53 +00:00
Stefan Csomor
429a5b011e
changing handling of mouse-down buttons according to patch 1749825
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 14:54:01 +00:00
Stefan Csomor
d79f943ad0
fixing path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 13:20:18 +00:00
Stefan Csomor
e34d630c63
no 68k macs more to support...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:12:13 +00:00
Stefan Csomor
4bc6b9ae41
adding quicktime framework (needed for PICT conversion)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 08:30:09 +00:00
Stefan Csomor
1321c5ea09
adding cocoa utils file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 08:28:35 +00:00
Vadim Zeitlin
66ce99069b
initialize m_labelWidget to 0 to fix crash when the label is empty (backport of part of r45312 changes from trunk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 22:51:49 +00:00
Vadim Zeitlin
ba92f56af9
removed unused variable left after the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 21:36:30 +00:00
Vadim Zeitlin
b5d63b3390
correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer with an id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 11:41:34 +00:00
Vadim Zeitlin
25a8ee4c6c
always use GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, independently of whether wxDD_MUST_EXIT flag is used, as the create folder dialog has confusing UI [backport from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 01:30:13 +00:00
David Elliott
a8634fc361
wxCocoa: Implement wxControl::GetLabel/SetLabel by stowing the label in the
...
wxNonControlNSControl instance used when the wxControl is a non-native
subclass (e.g. a generic control).
Not needed in trunk since there is now m_labelOrig.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 22:11:16 +00:00
David Elliott
d4364d403b
Merged trunk 47600:
...
wxCocoa: Implement wxTopLevelWindow::SetDefaultItem
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 20:41:05 +00:00
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
Paul Cornett
ada47ad6fb
more AC_CHECK_HEADERS fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 18:27:35 +00:00
Paul Cornett
332987ea38
add missing parens to bitwise expression
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 06:44: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
7afe960213
Merged trunk 47580, 47581:
...
Rewrite conversion from classic Mac OS 'CURS'-style structures to NSCursor.
* Leave data as separate image and mask planes instead of interleaving it
* Specify bytesPerRow to make compatible with 10.4 (Tiger) and higher
* Use endian-independent math.
* Document that the cursor data came from wxMac source.
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
possible by using the system cursors first, a set of built-in cursors copied
from wxMac if a system cursor was not found, and a normal cursor otherwise.
Fixes lack of wxCURSOR_HAND and makes the code easier to follow by clearly
showing which cursors are and are not available from each source.
Copyright 2007, Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 04:16:56 +00:00
David Elliott
4f5c9325a1
Merged trunk 47570:
...
Strip mnemonics from the label before passing it to Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 04:13:54 +00:00
Vadim Zeitlin
3e1fc4d2ae
check for setenv first, then putenv as using setenv in wxSetEnv() is much easier [backport from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 23:00:32 +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
5f00f5084c
Merged trunk 47521:
...
Don't use exceptions to determine lack of a method implementation. Exceptions
aren't designed for this in Cocoa. Instead, use respondsToSelector:.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 19:43:28 +00:00
Vadim Zeitlin
77d0b13798
don't assert when right/down cursor arrows are used in an empty tree control with wxTR_HIDE_ROOT style [backport of patch 1756184 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 13:55:42 +00:00
Vadim Zeitlin
7f41d85861
always generate the taskbar sample makefile; this was wrong since the line adding it to SAMPLES_SUBDIRS was added in the wrong place in rev 15927
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 01:06:01 +00:00
Václav Slavík
308b73a81f
compilation fix for minimal build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-18 15:03:10 +00:00
Robin Dunn
f8b99869e8
wxPython wants monolithic build on OSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 23:34:47 +00:00
Vadim Zeitlin
61044f83ce
check whether the string is non-empty before accessing its first element [backport from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:47:30 +00:00
Vadim Zeitlin
83ea1b79e7
fix rounding errors in stretchable items size calculation (patch 1754785)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 20:04:13 +00:00
Vadim Zeitlin
cb47b30098
don't overwrite build setup.h with user setup.h unless the latter is newer (as we already do in the trunk) (patch 1752567)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 20:48:29 +00:00
Václav Slavík
23536a41a8
forward compatibility with wx3: accept empty string as well as NULL in places where wx3 uses empty strings only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 14:12:08 +00:00
Vadim Zeitlin
901abc184c
allow setting empty tooltip in SetIcon() [backport of rev 47474 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 20:27:01 +00:00
Vadim Zeitlin
ec0b903a1d
cast abs() argument to int (from long) as BCC 2007 doesn't define abs(long) overload in stdlib.h (only cstdlib)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 11:07:40 +00:00
Benjamin Williams
e945389331
fix for bug #1747890 - close button problem fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:06:41 +00:00
David Elliott
993c3acd5e
Merged 47382:
...
Fix Raise and Lower to leave all other sibilng views in the order they were in.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 22:30:56 +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
3274765ffd
Merged modified 46014 from trunk (Note: CVS).
...
This version only removes the include of ObjcPose.h from source files that no longer need it due to the previous commits. ObjcPose.h still remains and is still used by the NSApplication code until I can do the necessary modifications to backport that without breaking ABI compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 22:34:42 +00:00