Commit Graph

147 Commits

Author SHA1 Message Date
Stefan Csomor
f8df60f2b2 adapting the MSW way for mutex gui
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-22 20:51:22 +00:00
Stefan Csomor
3b8d819f30 yielding from main loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 16:33:42 +00:00
Stefan Csomor
bdf956fb42 recursive tab processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:16:03 +00:00
Stefan Csomor
58ddb76c39 pass in NULL for mouse event handler, otherwise the handler thinks it is a valid toplevel window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 15:18:06 +00:00
Vadim Zeitlin
c847adaacf printf() format mismatch warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 14:38:27 +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
3fd35d583b export var that is sought for afterwards from shared lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-27 05:36:20 +00:00
Stefan Csomor
2dd35daad1 Pending() fixed for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 11:01:54 +00:00
Stefan Csomor
9f2bfce7b2 fixed crash when no wx menubar is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 07:28:25 +00:00
Julian Smart
38106243a0 Now sends an exit command to the app so Quit behaves as it should
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-14 23:19:53 +00:00
Stefan Csomor
1c32ded32c reopen app apple event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 15:17:48 +00:00
Ryan Norton
7f71c4c8d3 HID support (preliminary - not added to bakefiles yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 09:44:05 +00:00
Stefan Csomor
d9d19e7545 setting the default locale during startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 18:52:11 +00:00
Vadim Zeitlin
c944ce3573 fixed compilation when wxUSE_THREADS == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 11:26:10 +00:00
Robin Dunn
852b118501 Send menu highlight events and fix statusbar to update immediatly when
status text is changed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-16 01:48:53 +00:00
Ryan Norton
15c2acd23d Added/Fixed some things in wxGetKeyState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-28 22:46:08 +00:00
Ryan Norton
0643659a4e Commented out WXK_CONTROL....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 18:22:49 +00:00
Ryan Norton
104cdef643 TODO note :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 23:39:44 +00:00
Ryan Norton
6ed892f3f2 wxGetKeyState as per feature request :).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-14 23:35:21 +00:00
Gilles Depeyrot
bc93670d3b corrected Unicode conversion when replacing shared library extension with ".rsrc"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-07 21:11:49 +00:00
Dimitri Schoolwerth
e64313babf Applied patch #809919 (Allows wxMac threads to run at fullspeed).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-24 20:53:35 +00:00
Dimitri Schoolwerth
e128397f93 Applied patch #809019 (Adds embedded/plugin capabilities to wxMac).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-24 14:25:05 +00:00
Stefan Csomor
46e2a2e7f6 fix for unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-22 17:08:54 +00:00
Gilles Depeyrot
33f39af3b0 applied SF patch # 826838 to fix removal of -psn_* command line argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 20:22:34 +00:00
Vadim Zeitlin
dd435a79ed removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Stefan Csomor
8f793b407c turning on old quit apple event handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 12:19:19 +00:00
Vadim Zeitlin
1bf77ee556 use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:48:16 +00:00
Stefan Csomor
939fba6c17 removal of pc-mac charset conversion for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Stefan Csomor
d16477fd75 classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 14:06:08 +00:00
Robin Dunn
2dbc444a19 Move more stuff into base for wxMac so that two level namespace dylibs
can be used on OS X.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 00:03:18 +00:00
Stefan Csomor
6d56534934 mouse events added, menu id 0 safety check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 18:18:05 +00:00
Stefan Csomor
882b047983 wxID_PREFERENCES added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:45:45 +00:00
Robert Roebling
827e7a4874 Applied patch for better sizing of bitmap buttons.
Applied patch for correct order of activate and mouse down events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 13:05:50 +00:00
Stefan Csomor
3c589c7f47 Carbon Event Mouse Moved handler changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-31 15:35:32 +00:00
Robin Dunn
21870a5d8d WXMAKINGDLL --> WXMAKINGDLL_CORE and also fixed name of resources file
in multi-lib builds (so it doesn't look for "_core" in the name.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 21:21:50 +00:00
Vadim Zeitlin
2943b2c6af deleted unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 23:49:48 +00:00
Stefan Csomor
b7aec135d7 several patches and extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 21:15:39 +00:00
Stefan Csomor
1ea39a0399 textcontrol handling change for mac (execute event in mid stream)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 19:41:16 +00:00
Vadim Zeitlin
66b6b57c0e compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 01:05:50 +00:00
Julian Smart
955a919785 Rationalised OnIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 08:41:08 +00:00
Julian Smart
5109ae5d17 Improvements to OnIdle processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 16:59:30 +00:00
Stefan Csomor
5a036f13b3 codewarrior fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:12:43 +00:00
Vadim Zeitlin
e32f4a9fa9 preliminary implementation of wxEVT_MENU_OPEN/CLOSE for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 01:20:52 +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
7434de7498 flag removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:57:37 +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
Gilles Depeyrot
73bdd73aa2 minor corrections for compilation with gcc 3.3 (use cast of address instead
of address of cast)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 19:35:54 +00:00
Vadim Zeitlin
505f0a85c9 removed duplicate wxTheApp and m_appInitFn definitions from all ports, not just MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:20:33 +00:00