Commit Graph

193 Commits

Author SHA1 Message Date
Gilles Depeyrot
eb22f2a6dc updated source to not use deprecated wxList methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 07:01:22 +00:00
Stefan Csomor
6b57b49ae3 cursor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 19:19:35 +00:00
Stefan Csomor
f1872c18e6 region calculation for windows with borders too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-05 18:25:27 +00:00
Stefan Csomor
be0b002a3e made static box only a frame region in all calculations (otherwise the background would not be redrawn in all situations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-03 12:29:16 +00:00
Julian Smart
05ac7ac578 Corrected accidental pointer arithmetic in ClientToScreen and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-30 20:10:03 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Stefan Csomor
fd76aa8d8a make sure we don't keep a focus pointer to a window that gets deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 13:31:14 +00:00
Stefan Csomor
467e3168b3 all controls use 32 bit values now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-13 08:50:41 +00:00
Stefan Csomor
b8f2db1f34 added border clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-04 08:59:49 +00:00
Stefan Csomor
7372fd0a3c added option for getting visible region w/o children clipped, added to redrawing of control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-03 21:05:43 +00:00
Stefan Csomor
327788acc5 corrected scrolling problems for controls, switched to separate wxSpinCtrl implementation, both wxComboBox and wxSpinCtrl now have proper parenting for their members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 15:46:45 +00:00
Robin Dunn
14c9cbdb1e Allow wxSTC to have scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 06:46:24 +00:00
Stefan Csomor
d4380aafdd make sure we are removing ourselves from the focus of the toplevel frame when deleting (copied from msw)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 07:53:42 +00:00
Robert Roebling
9a456218de wxButtons no longer leave junk on dialogs when moved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 17:52:55 +00:00
Stefan Csomor
f6c29ee0c1 changing the focus part code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:13:35 +00:00
Stefan Csomor
baf52e1ccd native window disposal is moved to deferred delete, size of parent taken into account for apply background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:48:50 +00:00
Stefan Csomor
4ac219f63d added spinctrl to be ignored when clicked (otherwise its siblings on the same window position will not get the clicks)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:30:22 +00:00
Gilles Depeyrot
d84afea9d1 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Robert Roebling
32b5be3d67 Corrected double clicks (always on the same window).
Corrected mouse up events (same window as mouse down).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 11:36:33 +00:00
Stefan Csomor
2e6857fac2 corrected eventobject setting for mouse events and capture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-24 16:54:28 +00:00
Stefan Csomor
abda578832 RemoveChild added for correct disposal of scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 15:31:58 +00:00
Stefan Csomor
bec721ec75 added proper bracketing of QDflushing for carbon only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:43:30 +00:00
Vadim Zeitlin
4116c22156 Capture/ReleaseMouse() prefixed with Do for the other ports (OS/2, MGL, Motif, Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:38:46 +00:00
Robert Roebling
ed60b5022b Fix wxClipboard.
Fix enter and leave events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 20:29:18 +00:00
Stefan Csomor
2078220ed6 since DoScreenToClient and ClientToScreen in toplvlcmn are implemented by calling the superclass implementation, we have to avoid shifting by the client origin twice. had to change MacWindowFromPoint therefore too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 20:23:49 +00:00
Stefan Csomor
f175912347 added flushing for MacOS X buffered window immediatly when using wxWindow::Update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 18:08:59 +00:00
Stefan Csomor
66a09d4776 fixes for using non opaque structs under debug classic, support for ATSU and pixel pattern.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:07:02 +00:00
Václav Slavík
a756f21001 use the new wxSystemSettings API everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Stefan Csomor
76a5e5d21e removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private and typecasts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:26:02 +00:00
Stefan Csomor
a07c12126f drag and drop implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-31 16:37:42 +00:00
Stefan Csomor
de04398425 drawing methods cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 12:24:16 +00:00
Stefan Csomor
7d9d1fd708 corrections for theme brush alignments under X (no more SetOrigin calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 09:59:59 +00:00
Stefan Csomor
94abc21fde new redrawing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-28 19:20:25 +00:00
Stefan Csomor
1c469f7f4e MacOS conforming activate/deactivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:50:22 +00:00
Stefan Csomor
e8788ed0c6 corrected bug in MacRedraw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 06:42:38 +00:00
Stefan Csomor
1c31098539 Adaptions for new redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:49:03 +00:00
Robert Roebling
574bf50785 Correct wxTimer bug in wxGTK.
Correct SetSize bug for certain Toplevel windows in wxMAC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 20:10:46 +00:00
Robert Roebling
6264b550ad Fixed mouse move bug. No idea why it has to be fixed,
but MacOS X seems to send incorect event states.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 17:14:00 +00:00
Stefan Csomor
653b244972 applied Paul A. Thiessen's patches for correcting coordinates when having borders, exchanged the border painting method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 21:24:18 +00:00
Stefan Csomor
a3bf4a6263 added internal callback when toplevel windows move for opengl canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:54:39 +00:00
Stefan Csomor
7205570233 added conversion routines to CIconHandle, removing pre 8.6 routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 19:32:42 +00:00
Gilles Depeyrot
d497dca475 include wxWindows headers using "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 18:45:17 +00:00
Stefan Csomor
c1fb8167e9 corrected mac src due to new api changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 15:57:14 +00:00
Stefan Csomor
954fc50b6e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 10:06:50 +00:00
Robert Roebling
c10f20703e Corrected wxScrolledWindow's OnSize behaviour.
Formated code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 18:12:40 +00:00
Stefan Csomor
9453cf2bd7 several mac fixes (Mark Newsams patches)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 20:33:12 +00:00
Stefan Csomor
fc0daf8400 corrected log error after initialize when in release mode, window inheritance (generated incorrect classinfo trees)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 14:43:10 +00:00
Stefan Csomor
e766c8a9ad wxMac: wxUniversal integration steps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 20:11:26 +00:00
Stefan Csomor
748fbf95a8 changed Refresh to take Rect as client coordinates not window coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 20:52:06 +00:00
Stefan Csomor
ef7c5bd22a refresh during window delete (if root window deleted) removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 20:57:09 +00:00