Vadim Zeitlin
7a25a27c35
fix for my old and broken mingw32 headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 12:56:03 +00:00
Julian Smart
92209a3966
Define SF_UNICODE if undefined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 10:41:07 +00:00
Vadim Zeitlin
af01f1ba0d
fixed bug with the caret positioning after SetValue() introduced by the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 01:39:54 +00:00
Vadim Zeitlin
aac7e7fe7b
fixed displaying text in non default charset in the richedit control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:47:29 +00:00
Robin Dunn
eef97940e8
GetSelection --> GetStringSelection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 03:50:11 +00:00
Vadim Zeitlin
184144794d
added wxTextCtrl::GetSelection() returning a wxString - useful for multiline controls under Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:27:16 +00:00
Vadim Zeitlin
c8b204e6fd
bug fix for using multiline string (i.e. with embedded '\n's) in wxTextCtrl ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:27:35 +00:00
Vadim Zeitlin
86f1458257
don't use hidden windows as implicit dialog parents neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 00:40:32 +00:00
Vadim Zeitlin
7da982c4ec
simplified wxTextCtrl::Create() to use wxControl::MSWCreateControl() instead of duplicating its code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:34:37 +00:00
Vadim Zeitlin
5a8f04e382
added and documented wxTE_NOHIDESEL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 00:53:35 +00:00
Julian Smart
decb3a6a16
Added Net library to contrib
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 09:11:20 +00:00
Vadim Zeitlin
d7eee191c5
implemented, tested and documented wxTextCtrl::SetMaxLength()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 12:45:53 +00:00
Vadim Zeitlin
a37d422a66
fixed processing of the implicit wxTextCtrl accelerators (Ctrl-C/V/X)
...
without breaking all the others by using a new MSWShouldPreProcessMessage()
function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 15:07:28 +00:00
Vadim Zeitlin
733e8cf36e
compilation fix for cygwin/old mingw32 (patch 446700)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 14:57:02 +00:00
Robin Dunn
ddab9f80c8
changed Replace and Remove to always use EM_REPLACESEL instead of
...
going through the clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 02:34:44 +00:00
Robin Dunn
8215f84b5c
Fixed "Failed to set clipboard data. (error 1418: thread does not have
...
a clipboard open.)" error when using wxTextCtrl::Replace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 21:30:30 +00:00
Vadim Zeitlin
c57e33394c
1. added wxTE_AUTO_URL style and support for it under Win32 (and brief
...
mention in docs and tests in the sample)
2. moved wxTextCtrl-specific stuff from defs.h/event.h to textctrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:40:21 +00:00
Vadim Zeitlin
784164e176
blind fix for clearing font attributes in SetStyle()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 20:39:26 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Julian Smart
4e5d213ac0
Removed fstream include which seemed unnecessary, and gave errors for BC++ 5.5 anyway.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 17:04:33 +00:00
Julian Smart
bc00e7155e
Updates for 2.3.1; fixed syntax error in makefile.b32 but this probably
...
means that the 'version' fix for BC++ doesn't work (misapplied?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:43:16 +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
Robin Dunn
be329a3de3
Allowed MSW wxTrextCtrl styling to also set the background colour,
...
added wxUSE_RICHEDIT2 so this can be disabled for compilers that don't
have the right structures.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 19:26:57 +00:00
Vadim Zeitlin
e80591b930
compilation fix for old mingw32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 15:26:02 +00:00
Vadim Zeitlin
4bc1afd502
added text style support to wxTextCtrl for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 03:28:28 +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
3988b155d7
fixed wxTextCtrl::GetValue() bug for empty richedit ctrls (Marvin Aviles)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-21 18:01:27 +00:00
Julian Smart
dbf2885911
Fixed CanCut
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 16:18:39 +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
c4608a8af3
1. warning in gtk/menu.cpp fixed
...
2. Unicode fix in msw/textctrl.cpp
3. more parameters support in grid editors/handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 18:55:29 +00:00
Unknown (MT)
cfdd3a98d8
add wxTE_AUTO_SCROLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 08:14:01 +00:00
Vadim Zeitlin
bfbd6dc192
1. cursor fixes: frame does have hand cursor in the controls sample now,
...
modal dialogs don't have busy cursor even if wxIsBusy()
2. wxTextCtrl sets client data field in the generated events
3. added wxEnhMetaFile::SetClipboard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 23:49:41 +00:00
Vadim Zeitlin
488fe1feb6
fix for bug #29 (blank lines in GetLineText)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 00:03:29 +00:00
Guillermo Rodriguez Garcia
2f17584941
Opps. Sorry - typo fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 02:52:01 +00:00
Guillermo Rodriguez Garcia
5fb2f4ba7e
Solved bug which was breaking richedit ctrls for non-unicode builds on some compilers.
...
Fixed some small non-fatal bugs like missing c_str() and the like.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 01:03:15 +00:00
Vadim Zeitlin
c42404a58e
fixes for compilation with the old mingw32, wxUSE_NORLANDER_HEADERS is always
...
defined (as 0 or 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:21:21 +00:00
Vadim Zeitlin
8614c46755
1. '\n's in tooltip messages are handled (replaced by spaces anyhow, tooltip
...
made multiline if comctl32 supports it)
2. added wxTAB_TRAVERSAL to default wxScrolledWindow style
3. improved arrows handling in radiobox (still problems for multirow ones)
4. [Alt]-<mnemonic> works in nested panels as well now because we use
WS_EX_CONTROLPARENT for all windows with wxTAB_TRAVERSAL style
5. tooltips for radioboxes work again, even if I'm not really satisfied with
solution :-( but I spent 2 hours trying to make TTM_WINDOWFROMPOINT handler
work and I don't have more time to waste on this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 23:23:46 +00:00
Vadim Zeitlin
d9506e7758
1. wxMSW::wxNotebook::SetPageSize() and SetPadding() added
...
2. wxNavigationKeyEvent changes:
a) doesn't derive from wxCommandEvent any more
b) has a new ShouldPropagate() accessor
c) wxPanel::OnNavigationKey() changed significantly, beware
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 03:05:24 +00:00
Julian Smart
f6e4e9ea30
Changed wxWindowBase foreground to use wxSystemSettings, and changed wxTextCtrl
...
to only be grey for single-line read-only controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 14:26:30 +00:00
Julian Smart
d47ebd1e05
Fixed read-only colour for wxTextCtrl (TODO: wxComboBox) and fixed makeproj
...
in line with recent sample changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 10:41:43 +00:00
Vadim Zeitlin
b12915c104
1. wxBase compiles under BeOS
...
2. several bugs corrected in wxTextCtrl::Load/SaveFile (wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 21:09:32 +00:00
Julian Smart
c25a510b30
Mostly Mingw32/Cygwin corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 19:04:48 +00:00
Julian Smart
17d8ee1cbd
Misc small mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 14:59:09 +00:00
Václav Slavík
ad81651f00
removed USE_SHARED_LIBRARY(IES)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:57:30 +00:00
Vadim Zeitlin
381dd4bfa2
more compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 15:26:26 +00:00
Vadim Zeitlin
f048e32fcd
1. wxMDIParentFrame::~wxMDIParentFrame() bug fixed
...
2. tooltips work with wxRadioBox
3. duplicated OnCtlColor()s moved to wxControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 23:28:41 +00:00
Vadim Zeitlin
0d0512bd8f
1. wxIcon/wxCursor change, wxGDIImage class added
...
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:55:02 +00:00
Vadim Zeitlin
f68586e51b
wxWindow::GetBestSize() added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 21:01:20 +00:00