Vadim Zeitlin
8b573fb839
fixed crash when closing window that contains STC (patch 1017268)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:09:12 +00:00
Robin Dunn
52ef5c3c40
Check for m_peer != NULL in Freeze and Thaw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 19:04:17 +00:00
Stefan Csomor
d5ccba7211
fixing retval for SetFont
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 18:52:13 +00:00
Stefan Csomor
7ebf5540cc
focus and border refreshes etc corrected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 10:04:36 +00:00
Stefan Csomor
7d0cfe71cf
avoiding a OS-Level set focus for a control that already has the focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-23 13:59:59 +00:00
Stefan Csomor
ac8c7f4923
wrong method call, we need to add the second update region not to replace it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 05:35:01 +00:00
Stefan Csomor
d390fdcf00
blind fix for trails of border after resize operations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 19:35:45 +00:00
Julian Smart
dedb0f6db5
Need to include scrolwin.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 14:26:05 +00:00
Stefan Csomor
0fa8508d0c
moving focus rect overlap problems to the vis region of a window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 14:09:39 +00:00
Stefan Csomor
fd926bccac
drawing the border based on the native control's border, as things like calctrl may override the GetPosition etc. call, so that we'd draw a border around the overall control instead of the day's part
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 13:27:32 +00:00
Stefan Csomor
36d7f54e46
correcting border drawing for clientareaorigin in notebooks etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 18:49:27 +00:00
Stefan Csomor
101634b2e4
corrected positioning of focus rect in hierarchies and changed the redraw after a control lost focus to do an invalidation instead of a redraw, because in the situations where we have wrong z-order (static boxes) a wrong shade of gray will get painted otherwise.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 18:30:55 +00:00
Stefan Csomor
af6b7b80cf
moving stacking event handlers and event ref to central location, border handling when using native theme methods moved to native event handler, so that we can always make sure we only draw on the updateRgn, otherwise things get darker and darker....
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 15:52:50 +00:00
Stefan Csomor
eec462f8b8
switch to draw borders from the parent window, as we are not getting all redraws otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 09:30:09 +00:00
Stefan Csomor
1a02aff925
corrected GetPosition and extended erasing to include the entire update rgn passed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 19:21:47 +00:00
Stefan Csomor
4b5aa5c823
fixing memleak, correcting huge background erase area
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 19:22:22 +00:00
Stefan Csomor
42ef83fa71
redraw fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 16:36:04 +00:00
Stefan Csomor
84e5d27d6c
corrected scroll rect position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 11:48:04 +00:00
Stefan Csomor
db7a550bd7
refresh had to offset the region by borders
...
moving windows had to take parent borders into account as well on composited windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 18:00:51 +00:00
David Elliott
05cbefbfab
Removed unused event table entries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-29 13:52:24 +00:00
Stefan Csomor
055a486bbe
trying to get coordinates of native controls and wx coordinates in synch. as native controls cannot draw arbitrary borders we have to take care of that ourselves...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 13:56:56 +00:00
Stefan Csomor
7ea087b721
background handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:40:49 +00:00
Stefan Csomor
065ab451bf
for built-in dialogs, there is no m_peer instance, and still we might have a Refresh call issued, just leave
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:34:18 +00:00
Stefan Csomor
aa99e0cd22
explicit scrollbar style flags needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 14:08:27 +00:00
Stefan Csomor
be346c263f
carbon cfm fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 18:36:08 +00:00
Vadim Zeitlin
6ea4a2661d
fixed unused variable warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 15:47:27 +00:00
Stefan Csomor
aa522e33fc
add implementation fallback for not yet instantiated control peers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 07:04:00 +00:00
Stefan Csomor
788e118f21
combobox and textctrl fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 17:03:30 +00:00
Stefan Csomor
5ca0d8122a
further separating implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 16:19:18 +00:00
Stefan Csomor
ac99838a17
SetFont implementation moved to peer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:50:10 +00:00
Kevin Ollivier
1711ac7b90
Fixing crash due to referencing a NULL m_font.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:02:16 +00:00
Stefan Csomor
1189618f7a
colors are only set if non-black, otherwise Enable(false) does not gray them out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 13:40:16 +00:00
Stefan Csomor
2d1760d30f
cursor handling fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 11:18:02 +00:00
Robin Dunn
b52acd035e
Use GetBackgroundColour so it will revert to the default if
...
wxNullColour is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:50:54 +00:00
Robin Dunn
5437ff47ec
Check if MacGetTopLevelWindow returns NULL before using it. This can
...
happen when the toplevel window is beign destroyed but a decendent
window (child, grandchild...) has an EVT_KILL_FOCUS handler that does
some drawing or other significant work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:04:55 +00:00
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