Commit Graph

327 Commits

Author SHA1 Message Date
Stefan Csomor
21fd55291b introduction of m_peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 07:28:59 +00:00
Václav Slavík
971562cb51 use current mouse position as default position in wxWindow::PopupMenu (works better in wxGTK and is what you need in majority of cases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 14:05:30 +00:00
Stefan Csomor
f6e3849c07 we have to be able to tell whether a control can be focused by the os before a SetFocus is issued, otherwise native focus handling is not in synch...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 08:21:46 +00:00
Stefan Csomor
a9de2608ba LocalToGlobal/GlobalToLocal Conversions with Carbon API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:05:05 +00:00
Stefan Csomor
94f9b1f0f3 moving constructors to .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:52:16 +00:00
Stefan Csomor
002c9672c7 scrolling code committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 15:09:04 +00:00
Stefan Csomor
adb8a71bbc overseeing the obvious, there is already a perfect scroll call for HIView...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-24 06:29:02 +00:00
Julian Smart
655719367a Use old licence name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Stefan Csomor
3e444781ef removing unnecessary invalidation in Update, adding a forced update to ScrollWindow, incase we have invalid areas on the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 15:42:06 +00:00
Julian Smart
77ffb5937e Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Stefan Csomor
430e1eed73 Composite Window implementations for ::Update and ::ScrollWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 11:02:16 +00:00
Stefan Csomor
64fec3ab27 factoring common code out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:42:38 +00:00
Robin Dunn
985934750c A little cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 19:26:39 +00:00
Stefan Csomor
8ef4d6e291 unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:49:02 +00:00
Dimitri Schoolwerth
1d879215ac added missing includes required for CW8 Carbon compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 16:34:15 +00:00
Kevin Ollivier
5f254b1f3c Restore proper set and kill focus handling for user pane controls under wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 05:26:24 +00:00
Julian Smart
006271980f Added missing textctrl.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 15:41:41 +00:00
Stefan Csomor
e4727773a6 connecting the currently focused text control to the mac os services (Services Menu)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 12:43:29 +00:00
Robin Dunn
d3b5db4b25 SetInitialBestSize changes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 04:31:12 +00:00
Stefan Csomor
1d3216f76d replacing OSX only carbon calls by classic ones for CFM build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 06:34:28 +00:00
Stefan Csomor
736fac3a51 fallback for non implemented structure region call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-28 19:24:18 +00:00
Stefan Csomor
ebe86b1ea6 gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-24 07:57:12 +00:00
Stefan Csomor
6548fabe00 implemented Lower and Raise for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 07:03:18 +00:00
Stefan Csomor
f1d527c1ad switching to native focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:25:54 +00:00
Mattia Barbon
557d6f3247 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 16:09:35 +00:00
Stefan Csomor
b175b96ba0 added recursive invalidation after a Thaw command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 05:20:40 +00:00
Stefan Csomor
29281095c4 concentrating content and structure region calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 14:50:02 +00:00
Julian Smart
2317613101 Allow app to call SetWindowVariant before creation of control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 15:57:31 +00:00
Stefan Csomor
bb253bfd67 adding QDSwapPort for performance reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-02 08:37:46 +00:00
Stefan Csomor
125c798467 supporting events also for root control (needed for event handling of mouse and paint at tlw-level)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:24:19 +00:00
Stefan Csomor
793921582e added adjustOrigin parameter to bounds calculation, added Freeze and Thaw implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 08:34:18 +00:00
Stefan Csomor
c6f9fb0548 cast corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 05:18:10 +00:00
Stefan Csomor
84f6927eca corrected Refresh (client coordinates)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 19:01:02 +00:00
Stefan Csomor
b05bf6eec7 refresh on move changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 13:23:56 +00:00
Stefan Csomor
bcbd69875f reverting drawing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-31 08:19:01 +00:00
Julian Smart
9bd2d050ef Compile fixes for 10.2 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 16:26:18 +00:00
Stefan Csomor
a9825a9ba2 since we are not getting the kEventDraw messages for everything we handle UserPanes via a proper draw proc and only dispatch the kEventDraw for the native OS controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 14:43:06 +00:00
Stefan Csomor
904810184b commented that redraw workaround as it was causing more harm than benefit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 12:44:42 +00:00
Stefan Csomor
c2697b8719 attempt to work around SDK specific problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 19:04:41 +00:00
Stefan Csomor
eb69d46e70 BestSize is ok for built-ins
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 18:34:33 +00:00
Stefan Csomor
1e8cde71c0 Update Region is not always correct, we use the visible region therefore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 14:56:22 +00:00
Stefan Csomor
769ac86930 SetSize with all -1 was returning too soon in some cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 12:46:41 +00:00
Stefan Csomor
73fe67bd60 cleanup in toplevel activation, and switching to native carbon event notification for window visibility etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 11:35:04 +00:00
Stefan Csomor
8ab505498d added hilite change notification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 08:39:31 +00:00
Stefan Csomor
230c574313 added new notifications to be added, corrected DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 07:43:20 +00:00
Stefan Csomor
41218df153 correct include for OSX only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 06:51:16 +00:00
Stefan Csomor
03c4c72be6 added native alignement support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 19:42:18 +00:00
Stefan Csomor
4b5386874a background drawing uncommented again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 17:57:03 +00:00
Stefan Csomor
39a7aa0467 mouse handling fixed, skipping if we have no native control handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 07:18:48 +00:00
Stefan Csomor
d3e780ecdf extending calculation of visible region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 07:06:27 +00:00