Commit Graph

2538 Commits

Author SHA1 Message Date
Kevin Ollivier
d2af7584c0 A more complete fix for the generic control border issue, a fix for getting/setting wxListItemAttr info for the native control, fixes for HitTest considering the column the 0 item, and for GetItemRect being one off in virtual mode. Also a fix for the function call when using a custom sort routine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 05:41:12 +00:00
Kevin Ollivier
1934a64e10 Fix typo with adding wxNO_BORDER to the native control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:55:45 +00:00
Stefan Csomor
797f8d9641 redirecting missing implementations to textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:37:41 +00:00
Robin Dunn
d3c82d0d13 Compile fix to match change made in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 19:14:13 +00:00
Kevin Ollivier
464b15e17d Allow selection items to be toggled using CMD key when the listbox style is wxLB_EXTENDED.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 20:12:49 +00:00
Stefan Csomor
01294df09b adding reverse orientation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-09 19:48:18 +00:00
Kevin Ollivier
b20907ef2d Fix for incorrect error message report that caused wxMediaCtrl not to play MPEGs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-08 22:26:44 +00:00
Stefan Csomor
82f88f03ba supporting theme brushes under 10.4 properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-07 08:09:56 +00:00
Stefan Csomor
1acf0e5cff transforming clippings correctly, even if there is no native graphics context available yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 16:48:54 +00:00
Julian Smart
53cc4e7005 Better vertical height for choice/combo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 13:00:02 +00:00
Stefan Csomor
14cd0443d9 add a source placeholder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 10:16:54 +00:00
Stefan Csomor
3925a44ce0 fixing origin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 07:49:14 +00:00
Stefan Csomor
74b357ddde fixing pattern phase bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 19:51:15 +00:00
Kevin Ollivier
ba3241e643 Sizing and positioning fixes for generic control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:38:36 +00:00
Vadim Zeitlin
0ed77610cc removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 21:18:12 +00:00
Kevin Ollivier
7ac21a6761 Adding label editing to native OS X listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 19:54:08 +00:00
Stefan Csomor
ad66794547 adding measuring contexts, streamlining printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 07:50:06 +00:00
Stefan Csomor
6e25bf0ffb fixing warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 06:33:45 +00:00
Kevin Ollivier
a6c82d64ce Sizing fixes for generic control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 18:17:24 +00:00
Julian Smart
3b5bf72fbe Compile in non-CG mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 11:05:41 +00:00
Stefan Csomor
5f547a582e using the foreground brush to fill mono bitmaps - gradients are not yet supported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:18:16 +00:00
Stefan Csomor
2185a8a32f typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 10:32:00 +00:00
Stefan Csomor
1c5decd0b8 casing the coordinates recalc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 06:07:11 +00:00
Kevin Ollivier
3ce16a8e02 Fixing icon drawing and implementing HitTest and GetItemRect for native OS X list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 04:00:19 +00:00
Robin Dunn
f3d0a750d4 The rect passed to DrawTreeItemButton is already adjusted, we
shouldn't do it again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:59:03 +00:00
Robin Dunn
2bf8f4c0d5 Implement deep copy of wxBitmapRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 03:23:35 +00:00
Kevin Ollivier
9034707197 Explicitly forward non-command events along to the native control first.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:38:15 +00:00
Vadim Zeitlin
d408730ce4 ensure that wxToolBar has one of wxTB_TOP/LEFT/RIGHT/BOTTOM styles set, otherwise the latest toolbar positioning code breaks down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:09:08 +00:00
Stefan Csomor
a7868cdf6a fixing reset clip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:40:51 +00:00
Stefan Csomor
1f2b627ae9 added missing init
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 10:08:22 +00:00
Stefan Csomor
23a3e8fbda make things compile under 10.3 again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:56:07 +00:00
Robin Dunn
170acdc90e GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize  --> SetInitialSize
SetInitialBestSize --> SetInitialSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Stefan Csomor
69541a2ef1 lost save state call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:43:17 +00:00
Stefan Csomor
35ee712487 make sure we always restore the passed in cg in a paint event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:39:08 +00:00
Vadim Zeitlin
783d8bdf57 don't assign NULLs to bools and floats, this is confusing (and also the usual: deTABified; corrected double to int cast)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:22:42 +00:00
Vadim Zeitlin
8a438f46b5 more fixes to double to int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:19:10 +00:00
Vadim Zeitlin
a3ab1c1801 renamed IsRefTo() to IsSameAs() (do complain if this is not more clear) and
changed its signature to take a const reference instead of a pointer which
simplifies the code and makes it safer as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:03:53 +00:00
Robert Roebling
913e3ee729 Blindly fixed (tried to) wxSlider on Mac after
SetSizeHints() change.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 21:33:03 +00:00
Robin Dunn
2e57368359 Some compile fixes.
It sure would be nice if big complicated patches could be tested (or
at least compiled) on all the core platforms before being checked in,
especially in last-minute crunch times.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:56:25 +00:00
Vadim Zeitlin
5a70d3f578 remove just added wxCoordRound() (see patch 1586499)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:34:25 +00:00
Vadim Zeitlin
fea35690f1 Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Vadim Zeitlin
55ccdb93e4 COW cleanup patch (1583966):
1. perform deep comparison for the classes for which it makes sense in the
   ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
   not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Robert Roebling
caea989732 Replaced SetSizeHints -> SetMinSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:13:20 +00:00
Robert Roebling
cecf69f30d Replaced SetSizeHints() with SetMinSize().
Fixed what must by typo be the way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:09:59 +00:00
Kevin Hock
286f4413dd Non pre-comp compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 04:36:44 +00:00
Stefan Csomor
c348a710f0 minimize overlay area to avoid eg scrolling artifacts when using a caret
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:28:39 +00:00
Stefan Csomor
b2e2f9507b applying correct offsets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:00:02 +00:00
Stefan Csomor
a3e949b551 remove unneeded code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:51:34 +00:00
Stefan Csomor
b2d123f142 subrect blit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:43:25 +00:00
Stefan Csomor
8275e02a5a flushing is not done anymore in closing the context, but we need it here - there's still an offset bug however ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:37:43 +00:00