Julian Smart
2ee1e5bbb0
Added wxBORDER_THEME and made wxTextCtrl and wxSearchCtrl show the correct borders. Because
...
we can't add virtual functions because of binary compatibility considerations, we can't make
controls intelligent enough to know when they need themed borders. So in 2.8 we have to add
wxBORDER_THEME explicitly where necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:40:08 +00:00
Robin Dunn
931e5c417c
Patch #1769242 : Check for wxUSE_GRAPHICS_CONTEXT in renderer.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:12:09 +00:00
Chris Elliott
72d5e4361f
cvs to svn changes for 2.8.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 12:01:07 +00:00
Chris Elliott
8de86fa902
new is_text from head for svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 11:52:39 +00:00
Chris Elliott
4860c85f44
2.8.5 not 2.8.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 11:46:04 +00:00
David Elliott
3a1a045929
Merged 44792 (NOTE: CVS) from trunk:
...
implemented GetLabel() (part of patch 1679337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:55:00 +00:00
David Elliott
9330455ae2
Merged 47902 from trunk:
...
Consolidate cocoa view/control/cell label setting into wxControl::CocoaSetLabelForObject.
Also implements wxStaticBox Get/SetLabel which wasn't in the 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:19:41 +00:00
Vadim Zeitlin
e91a95b89e
add wx/univ/tglbtn.h to wxUniv headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 01:00:58 +00:00
Vadim Zeitlin
f391158f90
make wxTmemxxx() functions return char* and not void* in ANSI build for compatibility with wx 2.9 [backport of 47876 from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 21:58:53 +00:00
Robin Dunn
f36a4d4e45
Fix the building of debug python package if the debian/ubuntu system supports it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 02:31:04 +00:00
Robin Dunn
48ad659aa2
Patch from KO to allow the renderer to be able to draw onto a wxGCDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 02:27:24 +00:00
Julian Smart
d916510cb3
Added Get/SetParentWindow to allow the same easy printing object to be used even
...
if the original parent frame was deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-03 08:50:49 +00:00
David Elliott
a635e97d0e
Merged 47838 from trunk:
...
Make masks and alpha work for wxCOPY when blitting a selected bitmap from a
wxMemoryDC with an eye towards possibly doing more in the future.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-02 16:28:31 +00:00
David Elliott
1898e412ad
Add missing wxT.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 04:29:40 +00:00
David Elliott
29224b7773
Merged trunk 47795:
...
Add a wxAutoNSAutoreleasePool to wxBitmap::CopyFromIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 20:40:09 +00:00
David Elliott
f8ea76d331
Merged trunk 47522:
...
Add a couple of wxAutoNSAutoreleasePool in some key spots where Cocoa itself does a number of autoreleases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 19:35:12 +00:00
David Elliott
19d3db8dec
Merged trunk 46229 (NOTE: CVS) inside #if 0 pending research into how to do it in an ABI-compatible way:
...
Implement mouse entered, exited, and synthesize move events while the mouse is inside.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 19:06:06 +00:00
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