Robin Dunn
dc0846f745
Check for potentially NULL m_focus (Patch #1187992 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 16:02:04 +00:00
Włodzimierz Skiba
8079756869
Simpler constructor available.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 16:44:31 +00:00
Robin Dunn
414f2513fc
For wxMSW capture and release the mouse as the cursor moves out or
...
back in to the transient popup window to enable the transient to be
automatically dismissed when a click happens outside of it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:04:30 +00:00
Robin Dunn
276612f7e4
checked in just John's patch, will keep working my fixes...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 05:18:20 +00:00
Robin Dunn
68406a9b43
GRR! Reverting last change. I broke some things that I thought I had tested before...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:53:26 +00:00
Robin Dunn
ad7f2e868b
Copy & paste error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:36:23 +00:00
Robin Dunn
82ceade76a
Fixes for wxPopupTransientWindow for wxMSW. Includes Patch #1181190 ,
...
and also fixes for automatically dismissing the popup whenever the
mouse is clicked outside of the popup window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:28:40 +00:00
Vadim Zeitlin
a66faa07e5
removed commented out calls to ReleaseMouse() (no real changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:38:19 +00:00
Włodzimierz Skiba
c47addef10
wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Włodzimierz Skiba
2997ca30d6
Use default constructors for wxSize/Point/Rect.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00
Robert Roebling
c51c475202
Added screen locking code to popup window for X11.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 22:37:24 +00:00
Robert Roebling
f4bb632cde
Lock whole screen when popup is open under GTK+.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 21:48:06 +00:00
Julian Smart
1c7415463d
Don't release capture unless we already have it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-07 20:16:53 +00:00
Robert Roebling
f7204798e2
I think I found out how GTK+ want popup windows
...
to be handled...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 18:24:02 +00:00
Robert Roebling
f675893925
Applied popup patch for deleting the handlers
...
correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 12:49:00 +00:00
Robert Roebling
537a0880d2
Tried to restore wxPopupTransientWindow functionality
...
under GTK+.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 11:32:46 +00:00
Włodzimierz Skiba
7e548f6b13
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-20 11:31:49 +00:00
Chris Elliott
65f8780cb7
fix univ SegFault
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 13:10:22 +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
Mattia Barbon
833a51f67e
Implemented wxPopupWindow for wxMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-14 17:05:28 +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
55d99c7a77
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:28:33 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +00:00
David Webster
e830103c67
OS/2 has it's own popup window source now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 14:43:55 +00:00
Vadim Zeitlin
24b3cc2c96
reverted wxPopupWindow implementation to the original version using WS_CHILD and desktop as parent; this fixes the activation problem but reopens the other ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-05 23:30:00 +00:00
David Webster
950630818b
WXPM now uses popupwindows.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-13 18:09:46 +00:00
Vadim Zeitlin
e0c83227fd
let the popup listbox process the kbd messages in wxComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 02:36:25 +00:00
Václav Slavík
3390759eb3
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 23:20:44 +00:00
Vadim Zeitlin
6a0fab3a3a
added missing headers to fix compilation without PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 10:59:57 +00:00
Vadim Zeitlin
326c7ea888
propagate the click dismissing a popup window to the window beneath it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 22:41:50 +00:00
Robert Roebling
9b8270da40
Next try on pop up menus. (#ifdef x11).
...
More SetFocus() work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 20:35:55 +00:00
Václav Slavík
771c7b4a4b
reverted Robert's change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 22:07:52 +00:00
Robert Roebling
ee3510132b
Various changes to make pop up menus work
...
under X11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 20:22:44 +00:00
Robert Roebling
ea1ad04b43
Lots of things to make menus and submenus work.
...
Also added wxPopTransientWindow::CanDismiss() which will
be needed for pop-up menus, although that actually
still has to be done...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 22:42:14 +00:00
Robert Roebling
f809133f9e
Added expose event compression.
...
Made wxUniv scrollbars not accept any focus
if they are owned by the window (in contrast
to stand alone scrollbars).
Further corrections to ScrollWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 16:23:43 +00:00
Robert Roebling
afbe906abd
Some work on GTK focus handling and events.
...
Removed some code #ifdeffed for GTK from
wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:59:46 +00:00
Václav Slavík
36a56c6568
don't treat changing focus to popup's child as loosing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 00:03:08 +00:00
Vadim Zeitlin
d7cff34d1f
fix a crash when dismissing the popup window because of a key press
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:02:21 +00:00
Vadim Zeitlin
516cdd5433
added a hack to work around the dummy kill focus messages under GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 15:40:06 +00:00
Vadim Zeitlin
60178eb439
dismiss the popup when an unprocessed key is pressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 21:48:30 +00:00
Václav Slavík
159960c0e7
wxRTTI for wxPopupWindow in wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:23 +00:00
Gilles Depeyrot
799ea01170
implement out-of-line destructors where needed instead of using __DARWIN__
...
specific conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 21:52:28 +00:00
Vadim Zeitlin
761df41e86
compilation fix for recent commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 17:16:27 +00:00
Vadim Zeitlin
6c3422e909
added wxRTTI macros to wxPopupComboWindow and wxPopupTransientWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 16:01:02 +00:00
Vadim Zeitlin
eb729cd37a
added wxRTII macros to wxPopupWindow under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-02 23:18:11 +00:00
Robin Dunn
758bce950b
Added style parameter to wxPopupWindow ctors so they match the Create method.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 18:11:46 +00:00
Václav Slavík
a8132cd4b1
1. #ifdefed wxPopupComboWindow to be used only in wxUniv
...
2. compilation fix for wxPopupWindowHandler::OnLeftDown (somehow I doubt this will work w/o wxUniv...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:46:18 +00:00
Vadim Zeitlin
89e7a223c2
more combobox appearance fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:42:51 +00:00
Vadim Zeitlin
e4606ed9d0
wxComboBox appearance fixes, looks fine now but doesn't really work under GTK
...
yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:07:52 +00:00