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
Stefan Csomor
3083eb85df
moving GUI function to proper place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 09:56:36 +00:00
Stefan Csomor
facd676487
new control based view architecture
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 09:44:31 +00:00
Stefan Csomor
21f9e95380
because some sash code draws whether the window is visible or not, the easiest thing is to make the MacGetVisibleRegion return an empty region for this case, so the wxDC is always entirely clipped
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 17:29:48 +00:00
Stefan Csomor
00f5539438
scroll of subwindow confined to rect param
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 11:07:23 +00:00
Stefan Csomor
86deae1ef1
don't let MacIsReallyShown climb over toplevel windows, otherwise tlws with invisible parents are not showing their controls either
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 05:42:00 +00:00
Stefan Csomor
d40f860378
correcting a missing redraw area on certain resize operations when window has a border
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 13:20:02 +00:00
Stefan Csomor
89b1446463
reverting part of Kevin O's patch, due to incompatibility problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-06 09:10:58 +00:00
Robin Dunn
7e4a196e34
Don't send the wxWindowCreateEvent immediately
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 00:25:36 +00:00
Stefan Csomor
11d1adbfda
rendering adjustments for OSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:15:12 +00:00
Robin Dunn
3dfafdb9e6
Send window create events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-16 01:46:18 +00:00
Vadim Zeitlin
727953356d
removed calls to wxWindowBase::InitBase(), it is called from the ctor anyhow (and so was called twice)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-30 23:08:39 +00:00
Vadim Zeitlin
e441e1f4e8
made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Vadim Zeitlin
8e35ab96f6
call RemoveChild() in ~wxWindowBase instead of doing it in each ~wxWindow for each port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 11:45:08 +00:00
Stefan Csomor
fe779e4047
fixing Update, attempt to speed redrawing by making embedded controls invisible (leading to lesser nested redraws)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:37:19 +00:00
Stefan Csomor
ba87f54c0d
made Update be window local (before was updating the entire window), ScrollWindow now scrolls also invalidated areas and in the end does an Update
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 20:32:46 +00:00
Václav Slavík
a3bf7524f3
removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Vadim Zeitlin
5da0803c15
renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 14:09:45 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Julian Smart
0b30bb0bda
Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
...
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit
UI update frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 16:21:44 +00:00
Stefan Csomor
c3a05e8a57
trying to avoid unneccessary redraws by not invalidating areas for windows that are not shown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:59:34 +00:00
Vadim Zeitlin
6ed71b4f20
send wxEVT_SCROLLWIN_THUMBRELEASE events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-13 16:25:10 +00:00
Stefan Csomor
140f2012cd
reintroduced m_isBeingDeleted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 07:12:02 +00:00
Stefan Csomor
4241baae44
removing unused flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 20:17:13 +00:00
Gilles Depeyrot
9bd1404d20
removed superfluous casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 08:15:44 +00:00
Stefan Csomor
249aad307f
Skipping Right_down event if generated context menu event is not handled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-15 17:07:27 +00:00
Stefan Csomor
427ff66291
wxMac Unicode support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:33:32 +00:00
Stefan Csomor
d46342af50
submenu preparation in two methods encapsulated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 15:50:28 +00:00
Stefan Csomor
8950f7cc7e
added OnMouse which will trigger context menu events, added better DoMenuPopup implementation which also deals correctly with check items, submenus etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:30:26 +00:00
Stefan Csomor
42683dfb10
destroy event support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:46:44 +00:00
Julian Smart
e40298d54e
Tidied space and tabs in wxMac files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:48:13 +00:00
Julian Smart
a31a5f8534
Tidied copyright and date for wxMac files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 21:54:04 +00:00
Robin Dunn
7de595519a
Send the wxWindowDestroyEvent for all ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 02:59:36 +00:00
Stefan Csomor
01fbf5d755
static box parent warning added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 12:26:43 +00:00
Julian Smart
eed1be652a
Fixed problem with kill focus event getting sent to control
...
that is getting the focus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 19:04:10 +00:00