Commit Graph

58 Commits

Author SHA1 Message Date
Vadim Zeitlin
656562d815 unused param warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 13:00:13 +00:00
Julian Smart
c734a8b9a4 Minor change in case m_log is null
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 09:32:13 +00:00
Julian Smart
80185c6ceb Implemented wxTextCtrl::GetStyle for MSW
Added status bar showing major style attributes at cursor in text sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:14:42 +00:00
Julian Smart
e00a5d3ca1 Extended wxTextAttr and added wxTextCtrl::GetStyle stub
allow better rich text support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 16:25:31 +00:00
Julian Smart
29676ca095 Part of a patch I forgot to commit previously: demonstrating selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:15:30 +00:00
Vadim Zeitlin
cdd732de07 added test for Remove() and Replace() (patch 705051 from Nerijus)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:04:38 +00:00
Ron Lee
b1d4dd7add Split this out from other changes to keep things sane..
wxDeprecated KeyCode.
wxDeprecated old wxList compat methods.
Replaced a large number of them in the gtk build already, but there are
still plenty more so feel free to help nuke them as you find them.
s/^I/    / and s/TRUE/true/ etc. a couple of these too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 05:17:41 +00:00
Mattia Barbon
ab1ca7b3dd More samples/Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 18:13:27 +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
Vadim Zeitlin
aafbc3454c fix for gcc warning about incorrect format arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:22:45 +00:00
Vadim Zeitlin
8b1d8f3611 gcc 3.1 warning fixes (patch 598343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 19:22:52 +00:00
Vadim Zeitlin
80695f83d3 removed debugging code from the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:38 +00:00
Robert Roebling
eba330067e Removed all deprecated printing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Vadim Zeitlin
73028c4b8c fixed small memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:44:11 +00:00
Vadim Zeitlin
d847e69ac7 fixed crash in text ctrl log on exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:44:15 +00:00
Vadim Zeitlin
94ccc2540c added tests for the focus events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 13:49:56 +00:00
Vadim Zeitlin
0146a47e4d added the test for GtkText inside wxYield crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:28:31 +00:00
Vadim Zeitlin
e3603065fd fixed error in mouse capture test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 15:21:13 +00:00
Vadim Zeitlin
53fd33dcf1 no (real) changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:35:48 +00:00
Vadim Zeitlin
309824154b log textctrl should be readonly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 00:45:22 +00:00
Vadim Zeitlin
60f523207e Unicode test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:30:53 +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
Vadim Zeitlin
eda40bfc08 superposition of text styles in wxTextCtrl now works as expected (and as documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 14:50:50 +00:00
Vadim Zeitlin
cba1148d00 added Remove() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:17:09 +00:00
Vadim Zeitlin
9a7d612157 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 14:58:41 +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
1ce58dc6f3 allow disabling text events too; show Ctrl-x events correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:31:49 +00:00
Vadim Zeitlin
fb93b610c5 don't log mouse events by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:25:49 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Vadim Zeitlin
56c4a88b3b added possibility to filter out some messages - there are too many of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 21:55:43 +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
22670da422 added tests for ScrollLines/Pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:53:59 +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
eff005236d added demo of the difference Freeze/Thaw makes in wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 08:59:00 +00:00
Vadim Zeitlin
17665a2b5c implemented text styles for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-18 17:41:33 +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
d7dcb93990 Corrected some casting errors -> XtPointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 14:51:00 +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
2c8e47380e 1. wxShell fixes: now really uses shell (it wasn't different from wxExecute!)
and also added a version which captures the programs output
2. fix for compilers which have void ftime() (my mingw does) in timercmn.cpp
3. updated console sample to test wxShell/wxExecute
4. treetest now can toggle images or change their size
5. wxTreeCtrl doesn't crash if it has no image list


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 10:31:34 +00:00
Vadim Zeitlin
c41ea66a5d 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
3. using wxLog() insread of WriteText() contorsions in the listctrl sample,
   show client data from events in the log messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:40:42 +00:00
Guillermo Rodriguez Garcia
6d5ca46c65 Fixed these:
text.cpp:588: passing `const char *' as argument 1 of
`wxWindowBase::SetClientData(void *)' discards qualifiers
text.cpp:592: passing `const char *' as argument 1 of
`wxWindowBase::SetClientData(void *)' discards qualifiers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 06:49:20 +00:00
Vadim Zeitlin
4ed0aceb92 missing event.Skip() added (it was impossible to use mouse without it...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:10:31 +00:00
Vadim Zeitlin
4aff28fc9b 1. exchanged binary ROPs wxSET/wxCLEAR meaning for wxMSW to match wxGTK
2. bug with multiline messages in wxLogGui fixed
3. wxLogGui visual enhancements (for MSW, don't know how it looks elsewhere)
4. fixed 2 nice (i.e. BIG) memory leaks in wxImage::Rotate()
5. modified the text sample to show the mouse events too
6. documented strange behaviour of LEAVE_WINDOW mouse event under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 02:41:07 +00:00
Vadim Zeitlin
9ca03a57ea added test for text ctrls with the same id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:33:35 +00:00
Vadim Zeitlin
ae3dd4a589 1. some warnings fixed in forty
2. added test for a would-ve client data bug in wxTextCtrl
3. added support for metafiels to the dnd sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:17:41 +00:00
Vadim Zeitlin
0ddea94696 tests for "big" wxTextCtrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 21:41:34 +00:00
Vadim Zeitlin
4afd752902 1. wxDir works for MSW and documented
2. wxDateTime works with dates very close to the Epoch
3. setting font for wxRadioBox works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 00:43:59 +00:00
Robert Roebling
7ec2881ac5 Correction to position of rotated text.
Apps no longer give warnings if only a
    dialog pops up (top level windows == 0)
    before main loop.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 17:54:04 +00:00
Robert Roebling
eff869aad2 Removed Vadim's surplus code in clipboard.
wxTreeCtrl now creates its two font in the constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 14:48:41 +00:00
Vadim Zeitlin
e66ad5c68d removing Makefile.ams (and minor additions/fixes to the samples)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:06:41 +00:00