Mattia Barbon
584ad2a32f
Added some missing STL-like wxArray/wxArrayString constructors.
...
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Julian Smart
6463b9f539
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
Julian Smart
1169a91932
Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
...
(Watcom compiler doesn't like ctor implementation in headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Julian Smart
28764ac9d1
Applied patch [ 873021 ] Bug fix for MSW wxComboBox
...
wxComboBox::GetValue within a wxEVT_COMMAND_TEXT_UPDATED event
should now pass the correct value even if the handler for
wxEVT_COMMAND_COMBOBOX_SELECTED changed the selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 14:59:57 +00:00
Vadim Zeitlin
cb0afb2662
replaced wxNO_FULL_REPAINT_ON_RESIZE with wxFULL_REPAINT_ON_RESIZE in XTI declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:41:06 +00:00
Stefan Csomor
3ff066a4ec
macro naming changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 01:19:40 +00:00
Stefan Csomor
ffca575c83
WX_EVENT_PROPERTY instead of WX_DELEGATE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 18:42:14 +00:00
Stefan Csomor
c5ca409b6a
event exposure
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-27 17:53:15 +00:00
Julian Smart
bc9fb5723a
Added some window style metadata
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 11:35:44 +00:00
Stefan Csomor
067e9be685
xti property extensions, style bits additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 00:41:33 +00:00
Stefan Csomor
c44a270570
removing rtti special functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 17:28:34 +00:00
Stefan Csomor
f0a126fe7a
switching back to normal accessors, workaround not needed anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 16:44:01 +00:00
Stefan Csomor
6a89f9ee42
RTTI simplifications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-18 09:59:18 +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
Stefan Csomor
066f1b7a95
xti extensions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-05 17:30:46 +00:00
Julian Smart
4676948b68
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +00:00
Julian Smart
fda7962d02
Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:36:14 +00:00
Vadim Zeitlin
35821d8fe0
deprecated and removed from our code GetUseCtl3D()/TransparentBackground()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 23:02:14 +00:00
Julian Smart
fe3d9123c6
Revamped border handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 21:57:32 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Mattia Barbon
b38f3ff378
Fixed bug with SetValue on read-only combobox; don't call ::SetWindowText,
...
use SetStringSelection instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-06 16:53:02 +00:00
Vadim Zeitlin
bdf5c30deb
fix for wxComboBox flicker on create (patch 598891)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:11:27 +00:00
Vadim Zeitlin
2eb4c3aabe
reverted patch 598016 (removed MSWCreateControl() visible parameter)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 16:00:45 +00:00
Julian Smart
c832ef4985
Applied patch [ 598016 ] remove flicker during combo box creation
...
By Benjamin I. Williams (biwillia76)
The attached patch completely fixes the flicker problem when
creating combo boxes. It also will make it elementary to
remove flicker during the creation of other controls
(although all the other controls are flicker free, AFAIK).
It does this by adding an optional 'visible' parameter to
the internal MSWCreateControl method, whereby the caller can
create a control invisibly by default, perform some
complicated sizing calculations, and then finally show the
control before the Create finished.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 09:41:05 +00:00
Robin Dunn
04f47ce879
Allow wxComboBox to get key events for ENTER with wxPROCESS_ENTER style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 15:45:35 +00:00
Vadim Zeitlin
0ef2ebbafc
undid the patches which shouldn't (IMHO) have been applied to this branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 17:26:36 +00:00
Julian Smart
abc886c577
Applied patch from Mark Armstrong <marka@availsolutions.com>
...
This patch fixes wx combo box callbacks being executed
multiple times per MSW callback.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-04 09:08:12 +00:00
Vadim Zeitlin
64b397664d
suppress an assert when a combobox receives WM_KILLFOCUS while it is being destroyed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:41:13 +00:00
Vadim Zeitlin
53c3a78b33
generate the focus events for wxComboBox, also solves the tab navigation bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 11:32:25 +00:00
Václav Slavík
a756f21001
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Vadim Zeitlin
db34b14756
fixed wxComboBox initial autosizing (patch 496702)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 17:15:21 +00:00
Vadim Zeitlin
3adc70bf87
fixed minor combobox bug: GetValue() reported wrong value when caleld from TEXT_UPDATED handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:19:59 +00:00
Vadim Zeitlin
7ba166dd9e
compilation fix for old broken Borland compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 12:06:46 +00:00
Julian Smart
ae090fdb7f
Support for Cygwin 1.0 (thought it worked before, but...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:04:00 +00:00
Vadim Zeitlin
889f0b7c67
fixed wxComboBox sizing problem again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 00:16:35 +00:00
Vadim Zeitlin
18c5099700
1. more proper fix for wxChoice/wxComboBox height problems than in 2,2 branch
...
2. wxIsspace() fix merged from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 01:01:21 +00:00
Julian Smart
b07664068b
Applied patch #420395 (adding wxCLIP_SIBBLINGS capability -- but not by default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:14:37 +00:00
Julian Smart
788722ac5c
Fixes for 16-bit compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 16:13:12 +00:00
Kendall Bennett
33ac7e6f01
Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
...
clean with this compiler. Hopefully I did this without breaking other
compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
Vadim Zeitlin
fddfd9e1f1
blind fix for setting selection in combobox text ctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-15 22:03:44 +00:00
Vadim Zeitlin
6d14cac77d
merged fix from 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-12 14:33:15 +00:00
Julian Smart
f77034779a
Added insertion point code to wxComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 15:26:59 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
8def743e8f
fix for (too big) combobox height
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:45:36 +00:00
Julian Smart
ae77fce66c
Added WS_VSCROLL and WSHSCROLL styles again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 21:53:19 +00:00
Vadim Zeitlin
f1df09276c
1. wxWizard supports setting images for each page, sample updated to show it
...
2. wxLogGui now uses a special dialog instead of a wxMsgBox
3. wxComboBox doesn't limit the text to its size under MSW
4. removed windows.h from dummy.cpp because I think it's unneeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:26:25 +00:00
Vadim Zeitlin
11b6a93b1e
MSW compilation fixes for !wxUSE_VALIDATORS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:23:59 +00:00
Vadim Zeitlin
882a8f40e2
wxCalendarCtrl works under MSW too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 23:34:18 +00:00
Vadim Zeitlin
cd0b170911
1. wxLongLong and wxDateTime compilation fixed for the compilers without native
...
"long long" type (and some code in timercmn.cpp too)
2. wxDate and wxTime reimplemented using wxDateTime (old versions tagged as
OLD_DATE_AND_TIME)
3. wxString::To(U)Long and ToDouble added and documented
4. bug with combobox in toolbar (drop down list wasn't dismissed) fixed
5. several wxDateTime::Parse() functions implemented
6. added support for coloured buttons under MSW (not completely finished)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:44:45 +00:00