Commit Graph

71 Commits

Author SHA1 Message Date
Vadim Zeitlin
d2aa263fd1 fix for popup positioning in RTL mode (patch 1622930)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 16:07:59 +00:00
Vadim Zeitlin
1295f134ed fixed crash due to infinite recursion in wxPopupFocusHandler::OnKeyDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 14:01:39 +00:00
Vadim Zeitlin
f0985cf4ea removed unneeded ifdef from last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 23:03:08 +00:00
Julian Smart
76fa9e023c Compile fix for Universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:58:28 +00:00
Vadim Zeitlin
06077aaf2c add alt popup window style allowing to use keyboard and comboboxes in the popup window and use it for the generic date picker (patch 1582391 from Jaakko)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:25:08 +00:00
Václav Slavík
22a35096a0 renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:12:25 +00:00
Włodzimierz Skiba
9a6384ca1e Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Vadim Zeitlin
a57d600f1a renamed wxComboControl to wxComboCtrl and related wxUSE_XXX and configure switches for consistency with the other ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 22:57:40 +00:00
Vadim Zeitlin
a340b80d8a wxComboControl and wxOwnerDrawnComboBox (patch 1479938)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 23:42:45 +00:00
Włodzimierz Skiba
670f993563 Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Vadim Zeitlin
af5c81b3fa don't compile the code used only in wxUniv build in the other ports (coverity checker CID 5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 22:30:01 +00:00
Vadim Zeitlin
17a1ebd101 first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Mattia Barbon
8c624a14ad Avoid some -Wundef warning. Check for __WXGTK__ using defined,
not plain #if.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 00:35:02 +00:00
Michael Wetherell
31ad2c402c Undo r1.52 since we get another problem.
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:sss:65211:200508:khmgllhgjjgnfkhpebip#b


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-10 19:41:01 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Michael Wetherell
0bf16170cc This handlers mustn't be deleted when a popup is dismissed since they can
be the ones doing the dismissing. Also, m_focus must point to the window
with focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-06 13:39:21 +00:00
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