Commit Graph

82 Commits

Author SHA1 Message Date
Stefan Csomor
76a07a77ca focus propagation, fixes #10047
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 14:32:25 +00:00
Stefan Csomor
1bd09d0950 making the wxContainer select the text field for first child focus instead of choice, so that we have always the same behaviour, since text fields are always focusable, choices only with full keyboard access...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 17:14:27 +00:00
Vadim Zeitlin
9fe19926fa don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475) [backport from HEAD]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:17:18 +00:00
Stefan Csomor
797f8d9641 redirecting missing implementations to textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:37:41 +00:00
Robin Dunn
170acdc90e GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize  --> SetInitialSize
SetInitialBestSize --> SetInitialSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Paul Cornett
716d032736 remove unused stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:14:39 +00:00
Stefan Csomor
9a62fa17b1 using newer API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 05:31:13 +00:00
Jamie Gadd
0f7a4d1fb5 PCH build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 05:58:54 +00:00
Vadim Zeitlin
6c20e8f816 move default button handling code from wxControlContainer to wxTLW (patch 1524441)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:31:13 +00:00
Włodzimierz Skiba
841f23e18a Include wx/containr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 07:36:58 +00:00
Włodzimierz Skiba
3b3dc8019a Include wx/menu.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 07:13:20 +00:00
Włodzimierz Skiba
f1e0171631 Include wx/button.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:07:47 +00:00
Stefan Csomor
51478cd68d allowing the suppression of SetValue event-triggering (needed for composite controls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 13:00:13 +00:00
Vadim Zeitlin
aa61d35253 replaced all int/size_t indices in wxControlWithItems API with unsigned int (committing on behalf of ABX)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 22:05:23 +00:00
Włodzimierz Skiba
8228b8932a Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-14 19:44:45 +00:00
Kevin Hock
8dc6614e60 Fix wxComboBox constructors after keyboard access commit, not all constructors were setting the parent container pointer. Added Init method and put all the constructors together in the header (rather than being split between h and cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 04:00:39 +00:00
Stefan Csomor
7f10ed6e65 full keyboard access support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 15:45:46 +00:00
Vadim Zeitlin
6f02a879ed make access specifiers for the virtual functions match their access in the base class (patch 1400131)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
David Surovell
6eae1f7d48 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 03:14:01 +00:00
Włodzimierz Skiba
11e62fe658 wxItemContainerImmutable::FindString unified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 17:05:26 +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
Julian Smart
228146b082 Make sure text part of combobox is enabled/disabled too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-19 19:55:03 +00:00
Stefan Csomor
fd04970ab4 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 06:30:03 +00:00
Robin Dunn
4a5d352f8a forward the char, key and text events from the textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-20 05:22:21 +00:00
Stefan Csomor
768a499594 adding support for wxCB_SORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 05:13:39 +00:00
Robin Dunn
29998406a8 Use the validator given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 22:57:32 +00:00
Ryan Norton
179e085f05 wxUSE_XXX related fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:43:47 +00:00
Robin Dunn
eba2f031e7 Select an item using the value passed to the ctor/Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-18 04:07:11 +00:00
Vadim Zeitlin
64fa6f167e removed multiple duplicate copies (with subtly different behaviour) of SetStringSelection(); left only one of them in wxItemContainer (and another one in wxRadioBoxBase, to be removed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:29:31 +00:00
Stefan Csomor
3d1a4878f3 pragma and prec-header patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 21:05:47 +00:00
Kevin Hock
9da00e91b4 Do not emit a wxEVT_COMMAND_TEXT_UPDATED when the tab key is lifted (otherwise each time you tab into the combobox, the text updated event is fired, which is wrong)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:04:00 +00:00
Włodzimierz Skiba
7d8268a1d6 wxTextPos for all GetLastPosition with constants for special cases. Make it virtual everywhere. Avoid doubling typedefs. Always include textctrl.h for combobox.h. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 16:25:34 +00:00
Julian Smart
150e31d208 Added further 'missing' wxTextCtrl-like functions to wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:16:51 +00:00
Ryan Norton
12fce8fb5e fix non-void function not returning value warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 07:33:40 +00:00
Julian Smart
645b5bd6c0 Applied Kevin Hock's combobox patch for text update events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 17:14:07 +00:00
Stefan Csomor
30a936ee4e SetValue is not adding a line if values does not exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 19:00:56 +00:00
Stefan Csomor
b5267123bf moving popup-button closer to text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 05:28:36 +00:00
Stefan Csomor
ff6871ef3d making the width of the popup button dependent from the window variant, adding a one pixel safety border below the readonly combobox, and moving the popup button one pixel to the left in order to avoid chop-off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 05:22:52 +00:00
Stefan Csomor
788e118f21 combobox and textctrl fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 17:03:30 +00:00
Robin Dunn
88db1d64cb SetSizeHints hacks are not needed any longer since the minsize is not
set by default any longer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:58:11 +00:00
Julian Smart
1deb64c09e DoGetBestSize may be called before m_text and m_choice are set,
so check


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:55:25 +00:00
Kevin Ollivier
f26ca7f8e4 Fixing sizing problems on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 04:52:05 +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
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
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
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
Robin Dunn
d3b5db4b25 SetInitialBestSize changes for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 04:31:12 +00:00
Stefan Csomor
4c37f1248b switching to CreateXXX methods for Controls and to Hit Event Processing, thus supporting full keyboard access mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 05:14:14 +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