Commit Graph

1241 Commits

Author SHA1 Message Date
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
1bec2ee494 uppercasing menu shortcuts for non-command keystrokes, allowing non-command accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:27:22 +00:00
Stefan Csomor
547aafd263 added native pane splitter rendering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 07:02:45 +00:00
Stefan Csomor
64be92e214 continued spinning committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 15:54:59 +00:00
Stefan Csomor
3a9dc0619f fixes for mouse handling on 10.2 systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:49:20 +00:00
Stefan Csomor
d6fd667bc1 LocalToGlobal/GlobalToLocal Conversions with Carbon API, cleanup, hittesting corrected for 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 14:05:51 +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
bd24160658 make sure we are getting the gui mutex before shutting down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 19:43:32 +00:00
Stefan Csomor
3f42061b05 reopen app according to HIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:56:49 +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
86d8b74439 control data support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:51:29 +00:00
Julian Smart
43790a0d03 MacReopenApp implementation for restoring top-level window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-29 14:00:23 +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
dae6d730a9 menu events handling more closely to the menu instance itself, removing menubar wherever possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 15:07:48 +00:00
Stefan Csomor
de5914a150 having the refcon of a menu item to bear the pointer to the wxMenuItem, and have an map of menuref->wxMenu*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 14:47:50 +00:00
Stefan Csomor
be1aa07f8a if one clicks first on line 3 and then on line 1, the selection event is correct, but GetSelection on the listbox lags on selection event behind, therefore switch to PostEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 04:34:49 +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
c829d62b69 make it non mach-o carbon savvy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 11:07:53 +00:00
Stefan Csomor
f697130ea2 activated modal app state again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 11:04:57 +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
3fbf8e7f3b -start experimental use of RunApplicationEventLoop,
-storing current event for menu handling, because otherwise we get a redraw problem in wxWindow::Update which is called from the menu tracking code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 10:59:23 +00:00
Stefan Csomor
7741dfb12e correcting system version compare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:44:14 +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
Stefan Csomor
5cd092166b sometimes mutexes are used before our module is initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 18:39:39 +00:00
Stefan Csomor
514982b2d8 first implementation of carbon timers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 15:54:09 +00:00
Stefan Csomor
93b14e8026 a few corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 15:21:52 +00:00
Stefan Csomor
5efd525f9f defer Terminating the Task until it is really done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-19 14:38:12 +00:00
Robin Dunn
5b65f1364d If the threads module hasn't been initialized yet then we can assume
the IsMain == true.  This allows wxASSERTs that happen before the
wxApp is created (as can easily happen in wxPython unfortunatly) to
behave normally instead of just calling wxTrap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 19:59:18 +00:00
Robin Dunn
d0770e4a91 Fix DoGetBestSize when wxCB_READONLY is used. The best size of the
choice shoudl not be truncated in this case since there isn't a
textctrl in this case.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 06:48:02 +00:00
Robin Dunn
571d14b262 wxMac should use /src/mac/carbon/spinctrl.cpp, applied some sizing
layout fixes to that file, removed wxMac specific parts from the
generic wxSpinCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 19:14:38 +00:00
Dimitri Schoolwerth
75338075d5 re-added filter (type-popup) support (lost after introducing long filename support, patch #846732)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 18:37:39 +00:00
Dimitri Schoolwerth
64179ebc42 added missing include required for CW8 Carbon compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 16:16:24 +00:00
Stefan Csomor
b310cebd71 adding a few methods for selection handling in native combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 04:57:53 +00:00
Stefan Csomor
ed197fcf15 adding MPYield after releasing constructs like critical regions etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 19:32:01 +00:00
Julian Smart
1a03b3e25a Don't call SetItemCmd for WXK_UP or WXK_RIGHT since these values
have special significance, and cause indentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 18:11:21 +00:00
Stefan Csomor
46cc7c4e64 adapting for dual implementation native and composited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 09:03:38 +00:00
Stefan Csomor
881b5a06e2 adding pthreads mutex to possible wxMutex implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 05:48:27 +00:00
Stefan Csomor
9cc64be1d3 using MPSleep also for non Darwin Targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-16 05:46:53 +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
Robin Dunn
d13ea1bd96 wxMacWakeUp needs to be in wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:33:27 +00:00
Stefan Csomor
820d6bacd3 removing code needed for cooperative threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 16:29:13 +00:00
Stefan Csomor
96cadce3c8 fixes for rotated text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 15:13:54 +00:00
Stefan Csomor
2b2832ef0c unicode conversion support for text dnd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:58:49 +00:00
Stefan Csomor
2575829710 unicode conversion support for dataobjects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 14:58:09 +00:00
Stefan Csomor
6097743aba woraround latest sizer changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-15 06:49:23 +00:00
Stefan Csomor
ad05b1880e fixes for file drops in unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-14 13:13:36 +00:00