Robin Dunn
45b891b8e1
Use generic code for wheel scrolling on wxGTK as discussed on wx-dev a couple weeks ago
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:55:01 +00:00
Robin Dunn
96937739a9
Also build the debug python package, and more tweaks from Ubuntu's wx rules file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:54:01 +00:00
Robin Dunn
6995f729d4
Use the wxWidgets name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:15:31 +00:00
Vadim Zeitlin
42a5b4e4f7
recognize hover bitmaps (patch 1758843)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:21:11 +00:00
Vadim Zeitlin
e97b634c4c
stop after at most 200 iterations in WalkFrom() to avoid looping endlessly when the stack is corrupted (patch 1759239)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:16:55 +00:00
David Elliott
d6c69e0dec
Merged trunk 47757:
...
* Implement the wxMask copy constructor to retain the source object's
m_cocoaNSBitmapImageRep (fixes multiple release bug).
* Add some debug messages for unimplemented wxMask::Create overloads.
* Implement mask creation w/ key color from 8-bpp grayscale bitmap.
This makes the mask image in the drawing sample's mask page work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 21:45:12 +00:00
David Elliott
35da598faf
Merged trunk 47733:
...
Silence the warning about lack of [NSApplication +setAppleMenu:]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:19:59 +00:00
David Elliott
0eb7ba85df
Merged trunk 47732:
...
Added missing #import <Foundation/NSArray.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:18:53 +00:00
Julian Smart
17b1150b3f
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 07:18:10 +00:00
Stefan Csomor
f70fcfefbf
fixing layering problems when modal dialogs should appear in front of floating windows (eg miniframes), as long as wxSTAY_ON_TOP is not set on the miniframe
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:22:17 +00:00
Stefan Csomor
de809c336e
applying 1660835, making sure wxSTAY_ON_TOP mini frame windows don't get hidden on deactivate
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:16:09 +00:00
Stefan Csomor
0458df5e6a
we now always have a transparent sizer grip
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:14:05 +00:00
Stefan Csomor
ae9d03dd77
we now always have a transparent sizer grip
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:12:59 +00:00
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