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
Vadim Zeitlin
05e2b077c6
more work on fixing wxEntry() and ANSI/Unicode cmd line args mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 20:02:05 +00:00
Vadim Zeitlin
9482617091
extracted common initialization/cleanup functions in common/init.cpp; standardized wxEntry()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 18:43:09 +00:00
Vadim Zeitlin
e2478fde62
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Stefan Csomor
7728856b75
simplified definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 20:57:33 +00:00
Julian Smart
d921af5140
Tidied up white space and tabs in wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:36:37 +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
Stefan Csomor
cd28bcaded
moving all string conversions to private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 14:59:28 +00:00
Stefan Csomor
cbf8aca6d4
Carbon Events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 07:01:23 +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
Gilles Depeyrot
1bfec677b1
avoid warning for duplicate defined wxEntry when compiling with the Apple
...
Developer Tools (already defined in common include)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:17:52 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Stefan Csomor
2072fbbbc9
added new default handlers for open/print events, removing the need for using private headers in the specific application
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 22:04:04 +00:00
Stefan Csomor
41d368a4bb
separated modifier keys handling in order to distinct key/up down events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-14 17:09:20 +00:00
Julian Smart
90a1a975d4
Applied patch [ 588734 ] Makes ProcessIdle() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Stefan Csomor
72ddb593f1
factored out key handling for better integrating with carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:01:18 +00:00
Stefan Csomor
6c28ba0c66
OnInit for adding carbon event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:31:25 +00:00
Gilles Depeyrot
fbbdb7cd4c
improved opening/closing of shared library resources so that Mach-O shared
...
library resources are opened in wxApp::Initialize and closed in wxApp::CleanUp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 16:09:21 +00:00
Václav Slavík
0e04ef47f6
move wxApp::GetStdIcon to wxArtProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:01 +00:00
Stefan Csomor
fa15551ceb
new static structure for using the correct resource file (needed for shared lib)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:14:11 +00:00
Stefan Csomor
5273bf2fd3
removing dependancy on mac headers from public wx headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:13:39 +00:00
Vadim Zeitlin
8461e4c253
added wxApp::Yield()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 18:29:32 +00:00
Stefan Csomor
3d2791f12c
added a few encoding convenience methods for pc-mac encoding and string handling, put message box buttons under translation, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 08:38:14 +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
5b781a6729
updated mac sources (CW 5.3 working , CW6 still having code gen problems)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 21:13:12 +00:00
Stefan Csomor
05adb9d2fd
merge of wxMac into main repository
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 11:02:59 +00:00
Stefan Csomor
519cb848a8
CW5.2 Pro Adaptions, wxMac starting to move in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 09:16:09 +00:00
Karsten Ballüder
ebea0891d0
Made icons configurable via a wxMApp virtual function. Tested on wxGTK only,
...
added it for all ports, though.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-05 11:22:45 +00:00
Stefan Csomor
8be97d65a6
CW Win32 and Mac adaptions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:56:43 +00:00
Stefan Csomor
0dbd6262a9
started once again from stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-01 16:05:26 +00:00