Kevin Ollivier
dcd79bff8c
Implement GetCountPerPage, and fix a bug where we don't check for the state mask before altering selection state.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 06:23:02 +00:00
David Elliott
18b32eb5b5
Improve the tracing of the tracking rect manager and mouse movement synthesizer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 05:39:32 +00:00
David Elliott
1f361be22f
Change kCFRunLoopBeforeWaiting to kCFRunLoopExit when setting up the run loop
...
observer for synthesized mouse moved events and add a lengthy comment
explaining the reason for the change.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 05:05:40 +00:00
David Elliott
32660a06c5
Keep the stock cursors in an array so that constructing a cursor with a stock
...
cursor ID will effectively result in a copy sharing the same ref data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 18:11:20 +00:00
Robert Roebling
7d2beb15bb
typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-17 10:50:44 +00:00
Vadim Zeitlin
5c92385e69
added a tech note explaining how to write a new XRC handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:12:10 +00:00
Vadim Zeitlin
c7db82dced
add XRC handler for wxSearchCtrl (extended patch 1751516)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:10:14 +00:00
Robert Roebling
b8b7b08777
removed Set/GetSortAscending from wxDataViewModel and move into wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 20:53:54 +00:00
Julian Smart
754dc40969
Implemented Firefox-like behaviour whereby clicking again on a tab focuses the tab, but otherwise the focus goes to the page itself.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:25:50 +00:00
Julian Smart
e2125bdc32
Mac fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 19:05:32 +00:00
Robert Roebling
4b859ff461
compile with GTK < 2.8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 18:31:11 +00:00
David Elliott
8ea3a63ea9
Use one run-loop observer for all synthesis of mouse moved events instead of a separate observer for each view.
...
Actually check the last mouse position and don't send synthesized events if the mouse hasn't moved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 17:44:11 +00:00
Julian Smart
a0c2e4a050
Added AdvanceSelection, ShowWindowMenu and keyboard handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:12:45 +00:00
Julian Smart
974dc0de12
Added missing argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 14:03:17 +00:00
Julian Smart
6d78998725
Added DrawFocusRect to wxRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 12:15:15 +00:00
Vadim Zeitlin
4346581b7c
fixed TeX error introduced in rev 48093 (sorry)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:27:25 +00:00
Vadim Zeitlin
7738af5957
relinquish the mouse capture when a dialog is about to be made modal to ensure that the mouse can be used in it (patch 1754648)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:01:30 +00:00
Vadim Zeitlin
b1294ada8e
make wxChoice and wxListBox inherit from wxControlWithItems and not wxControl for all ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:31:06 +00:00
Julian Smart
f31bbefd10
Bring back double border
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:30:17 +00:00
Julian Smart
a7dbf7c8bc
Removed double border style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:29:53 +00:00
Vadim Zeitlin
56601ff2db
added ReadType convenience functions (patch 1764160)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:23:01 +00:00
Vadim Zeitlin
bc1dab7e1f
include wx/msw/winundef.g instead of writing just a subset of #undefs in wx/defs.h itself (patch 1774707)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:17:49 +00:00
Vadim Zeitlin
e9f8a82ec7
uncomment the change which was meant to be committed the last time
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 18:38:36 +00:00
David Elliott
e7e1ad7d93
Add support for uniquifying to all wxCocoa Objective-C classes.
...
Patch from Mark Taylor.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:10:19 +00:00
Julian Smart
3ac1094bea
Regenerated makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 15:56:41 +00:00
Václav Slavík
d6694e1017
removed outdated comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 15:28:30 +00:00
Vadim Zeitlin
f55c979a00
use correct WXDLLIMPEXP macro for friend declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:30:25 +00:00
Vadim Zeitlin
7376079d09
corrected the 'Derived from' sections using the script from the patch 1765640
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:27:12 +00:00
Vadim Zeitlin
eaa785079c
added a script to automaitcally fix 'Derived from' doc sections; updated the 'Library' sections script to be able to run it on files already having these functions (patch 1765640)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:23:47 +00:00
Vadim Zeitlin
8e190f0ed9
use ES_RIGHT|ES_NUMBER styles for the buddy control as it's used for numeric entry (modified patch 1767478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:19:31 +00:00
Vadim Zeitlin
0b62d38796
don't enable previously checked button in a radio group (patch 1767481)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:13:43 +00:00
Vadim Zeitlin
e660f922f6
don't assert when ExpandAll() is called on hidden root item (fixes 1765566, replaces patch 1768282)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:09:19 +00:00
Vadim Zeitlin
bcac816123
no changes, just fix typos in comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:06:02 +00:00
Václav Slavík
8da116cf66
wxCocoa compilation fixes for visibility (missing DLL export macros)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:05:35 +00:00
Vadim Zeitlin
27539df82b
fix clipping box retrieval (patch 1771199)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:00:30 +00:00
Vadim Zeitlin
becac1ef57
added wxToolTip::SetAutoPop() and SetReshow() (patch 1768804)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:57:36 +00:00
Vadim Zeitlin
c267759c8f
don't use deprecated wxMenuItem methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:53:59 +00:00
Vadim Zeitlin
ca6328c44e
use correct WXDLLIMPEXP macro for forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:45:41 +00:00
Vadim Zeitlin
511383f91b
fix wrong clear selection (modified patch 1763916)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:52:13 +00:00
Vadim Zeitlin
6d7aee4f47
include wx/datetime.h, it's not always included from the other headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:46:57 +00:00
Vadim Zeitlin
f8efd2dfff
set the correct properties for the source files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:43:32 +00:00
Vadim Zeitlin
1722a3f626
added missing headers (patch 1774617)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:40:39 +00:00
Vadim Zeitlin
5573f5b828
fix incorrect wxSYS_VSCROLL_X mapping to the Win32 constant (replaces patch 1770501)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:38:07 +00:00
Vadim Zeitlin
48271822ef
use one shot timers in wxAnimationCtrl (patch 1774535)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:36:50 +00:00
Vadim Zeitlin
225dfbc517
added wxConvertTo/FromIeeeExtended() synonyms for ConvertTo/FromIeeeExtended() and deprecated the latters; also added missing dll export declarations for them (patch 1772233)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:07:13 +00:00
Vadim Zeitlin
de38156422
don't set incorrect initial value of '0' for the bool cell (replaces patch 1774557)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 10:43:41 +00:00
David Elliott
4f46c20bc4
Further simplificiation of the NSSlider/wxSlider interface such that the
...
various responder methods don't change the controls action but instead send
all actions through the normal wxCocoaNSControl action handling mechanism.
To determine what caused the action we save the message selector in a global
variable (safe since Cocoa does single-threaded event handling).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 04:12:44 +00:00
Vadim Zeitlin
71e33cfbbd
no real changes, just some cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:44:44 +00:00
Vadim Zeitlin
39f0cb547f
added wxTaskBarIcon::Destroy()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:43:39 +00:00
David Elliott
03859c918c
Fix the top-level window client size setting code such that the window position does not change as seen by wxWidgets.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:38:32 +00:00