Václav Slavík
0fe0275981
changes to make wxWindow::FindFocus work as expected with composite controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +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
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
Václav Slavík
1c53456fc9
wxMGL fixes (patch #884758 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 23:13:30 +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
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
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +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
Julian Smart
e3a1e3e0e5
Fixed copyright and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:24:30 +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
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
Václav Slavík
197b162641
compilation fixc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-08 22:12:09 +00:00
Václav Slavík
a1f7eb20e6
use wxLogFatalError, not wxFatalError
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:15:13 +00:00
Vadim Zeitlin
63fd5f0b27
added missing semicolons after asserts (patch 567853)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 15:26:35 +00:00
Václav Slavík
66858adfc4
better handling situation when active frame is destroyed or hidden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 21:44:31 +00:00
Václav Slavík
8014db4142
1. handle Alt-F4 in wxUniv, not wxMGL
...
2. safeguards to never warp pointer to out-of-screen location (MGL would crash)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:16:26 +00:00
Václav Slavík
ea98f686a6
1. changed doubleclick events sequence to 'down,up,double,up' (turned out to be MGL's native one)
...
2. wxWindow::GetPosition() returns value relative to parent's client area origin now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:06:33 +00:00
Václav Slavík
60df0f9685
synthetize 'button up' event before doubleclick, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:31 +00:00
Václav Slavík
06534aa178
oops, commiting too fast, forgot to fix a small typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:44:38 +00:00
Václav Slavík
2d1efe3fec
added Alt-PrintScreen handling (SciTech won't be happy till we do everything Windows do...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:16 +00:00
Václav Slavík
8f5e92dbe5
corrected double click events: wxMGL will now synthetize
...
second single click, so that events sequence is single-single-double as wxWindows
expects rather than single-double as MGL generates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 00:55:27 +00:00
Václav Slavík
eea932674b
fill wxFocusEvent::m_win properly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:49 +00:00
Václav Slavík
d53fc7c96d
1. added wxUpdateUIEvent handling to wxMGL
...
2. added Alt-F4 and PrintScreen handling
3. removed accelerators handling (done by wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:37:12 +00:00
Václav Slavík
e41dcea547
safeguards against crashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 10:37:55 +00:00
Václav Slavík
6feddea302
honour min/max size in wxMGL's wxWindow::DoSetSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:07 +00:00
Václav Slavík
821860051a
1. make paint events debugging runtime switch instead of compile time
...
2. fixed incorrect rendering of wxListCtrl (newly created controls didn't account
for parent's client origin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:28:05 +00:00
Václav Slavík
a679e1298b
A couple of fixes to wxMGL's wxWindow:
...
1. fixed caret interference when painting the window
2. now calls SetFocus when you click on a window that doesn't have focus
3. hopefully correct translations of event for OnKeyDown vs. OnKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:40:12 +00:00
Václav Slavík
869dabf8c3
move caret notification after sending the focus event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 00:46:32 +00:00
Václav Slavík
84c88a17c0
added TAB handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:23 +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
Václav Slavík
7b9f73d205
end with fatal error if cannot start MGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:37 +00:00
Václav Slavík
a3e76614ad
extended display mode handling to accept WXMODE env. variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 00:05:18 +00:00
Václav Slavík
b43a988613
wxMGL Watcom compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 02:21:20 +00:00
Václav Slavík
d76048f514
- removed GDI lists from wxMGL
...
- friendlier wxApp::SetDisplayMode
- redirects stdout and stderr to files if __WXDEBUG__
- wxLog initialization and flushing fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:00:12 +00:00
Václav Slavík
88f2a7714a
wxMGL bugfixes:
...
- timers weren't scheduled properly
- wxSizeEvent was sent even though the physical dimensions didn't change
- wxDC had bugs in device origin computations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:50:04 +00:00
Václav Slavík
1f43b5c985
reworked display mode stuff once again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:32:52 +00:00
Václav Slavík
634f6a1f0a
implemented display mode setting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:36 +00:00
Václav Slavík
580616706f
cleanup in wxMGL code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:51 +00:00
Václav Slavík
f41ed3c442
minor wxMGL fixes -- controls sample is now OK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 23:25:35 +00:00
Václav Slavík
e6daf008d8
added screenshot capturing for debugging purposes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 22:51:05 +00:00
Václav Slavík
0a89ac9c27
wxWindow::Enable now correctly has recursive effect (and maybe other fixes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:20:24 +00:00
Václav Slavík
b8c0528db3
better windows painting in wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 22:49:57 +00:00
Václav Slavík
a46935cb54
fixed menu navigation with mouse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:44:08 +00:00
Václav Slavík
61bd618fe7
fixes to focus handling in menus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:08:45 +00:00
Václav Slavík
ead60ec54b
more active frame stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:58:34 +00:00
Václav Slavík
31ae546e16
fixed yet another bug in wxActivateEvent handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:34:07 +00:00
Václav Slavík
d46330c586
active next window in Z-order when a frame is deleted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 09:46:26 +00:00