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
Stefan Csomor
7f5d8b0085
setter by ref for
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 05:41:11 +00:00
Stefan Csomor
5174130757
rtti informations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:05:30 +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
Vadim Zeitlin
199fbd7093
generate a text event even if SetValue() didn't really chaneg anything
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-03 23:58:05 +00:00
Vadim Zeitlin
2eb10e2a17
more warning fixes; removed references to wxToolBarBase from wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Mattia Barbon
de564874d6
Use wxStringBuffer[Length] instead of explicit calls to
...
wxString::get/UngetWriteBuffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 09:41:26 +00:00
Vadim Zeitlin
e3a6a6b2bc
added Show/HideNativeCaret() (patch 759924)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:01:27 +00:00
Vadim Zeitlin
8c74e477ed
set richedit DLL handle to 0 after unloading (patch 768994)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 21:54:14 +00:00
Julian Smart
2077b14882
Reordered winundef.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 20:34:46 +00:00
Vadim Zeitlin
5595986d65
compilation fix (missing wx/winundef.h)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 09:58:59 +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
Vadim Zeitlin
65bc172c97
implemented GetDefaultBorder() in wxControl, override it in some controls which don't want to have sunken style by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:35:32 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +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
Mattia Barbon
3ec4107dfc
Add a missing structure definition, move all rich text missing
...
stuff to wx/msw/missing.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 20:09:14 +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
3443393889
Applied patch [ 736321 ] Compile error for src/msw/textctrl.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 18:56:14 +00:00
Vadim Zeitlin
da32743f22
calling SetValue(GetValue()) didn't reset the modified flag (bug 678391)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 19:00:04 +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
a9d3434a3b
finally fixed the flicker problem in wxTE_RICH[2] text controls when appending a lot of text to them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 18:44:20 +00:00
Vadim Zeitlin
07601f5945
don't log erroneous error messages when writing an empty string to a wxTE_RICH2 control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 16:48:50 +00:00
Vadim Zeitlin
a40c9444bb
compilation fix for wxUSE_RICHEDIT == 0 (closes bug 662252)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 23:24:46 +00:00
Mattia Barbon
77e00fe9da
Do not use deprecated functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 21:00:50 +00:00
Julian Smart
b4da152ea3
Removed old __WXWINE__ support (obsoleted by new __WINE__ symbol)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 18:11:53 +00:00
Vadim Zeitlin
db50ec5a50
workaround for not appearing vertical scrollbar in wxTE_RICH2 controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 01:10:03 +00:00
Julian Smart
8d1e36f7e3
Don't send explicit update event if single line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-23 13:18:28 +00:00
Vadim Zeitlin
98e19a5863
fixed SetSelection() (and hence SetInsertionPoint()) behaviour when using richedit 3.0 with wxTE_RICH2 style and the control doesn't have focus
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-20 00:18:35 +00:00
Julian Smart
c76b1a30fa
Fixed a problem with borders being set wrong sometimes on wxMSW, XP, VC++ 7
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-19 23:13:53 +00:00
Vadim Zeitlin
589c71635a
allow TABbing into multiline text controls even if they're not editable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 01:05:59 +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
e52d9c784e
we do want arrows even in a read only text ctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-14 21:37:28 +00:00
Vadim Zeitlin
080c709f70
fix for handling TAB presses in readonly text controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 18:38:25 +00:00
Julian Smart
e015d1f7da
Applied patch [ 603858 ] wxTextCtrl text alignment patch
...
Benjamin I. Williams
This patch implements three new flags for the
wxTextCtrl control. The flags are wxTE_LEFT,
wxTE_CENTRE, and wxTE_RIGHT. These flags can change
the way text is aligned inside an edit control, which
is useful when the user is editing numbers or dates.
At Vadim's recommendation, the patch implements the
alignment flags so they are equal to the corresponding
wxALIGN_* value. wxTE_LEFT is actually 0x0000, and is
just a place holder. wxTE_CENTRE is equal to
wx_ALIGN_CENTER_HORIZONTAL (0x0100), and wxTE_RIGHT is
equal to wxALIGN_RIGHT (0x0100). I couldn't agree more
with this idea.
As Vadim pointed out, choosing to set the text
alignment flags to the corresponding wxALIGN_* flags
has a slight negative side effect: the values 0x0100
and 0x0200 collide with the existing flags
wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL. A valid point
was raised, however, which stated that the flags would
never really be used at the same time, and also that
wxTE_AUTO_SCROLL is (possibly) going to be deprecated
anyway.
While this collision is not really a problem, I didn't
like the idea of someone specifying wxTE_NO_VSCROLL and
ending up with with a centered text control ! Thus, I
chose to move both wxTE_NO_VSCROLL and wxTE_AUTO_SCROLL
down to the free bits 0x0002 and 0x0008, respectively.
I'll leave the final say up to Vadim and the rest of
you whether you want to move these flags down or keep
them where they are (with collisions). What truly
matters to me is that I can now create text controls
with the proper alignment!
This patch also updates the documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 16:15:30 +00:00
Vadim Zeitlin
cf6e951cf2
don't eat Shift-Ctrl-[XCV] keys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 21:30:28 +00:00
Julian Smart
3bce6687f4
Mods for Wine compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-30 20:34:27 +00:00
Vadim Zeitlin
5036ea9074
send event from Clear() for a simple text control, send only one event from SetValue() instead of 2 for a rich one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:16 +00:00
Robin Dunn
cc164686f3
Added wxUSE_RICHEDIT to match usage in header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 01:27:57 +00:00
Vadim Zeitlin
5bf75ae769
default style now applies to the text entered by the user as well (patch 574789)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:49:10 +00:00
Julian Smart
f1fbff2887
Eliminate flashing when writing text, by clearing instead of selecting all.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 22:15:20 +00:00
Vadim Zeitlin
1dae1d0098
richedit 1.0 controls now send the left up event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-18 00:34:45 +00:00
Vadim Zeitlin
a64c3b74b6
oops, compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:26:14 +00:00
Vadim Zeitlin
d86ab8e29f
fixed text ctrl tooltips (patch 562210)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:45:43 +00:00
Vadim Zeitlin
e7e91e0358
fixed WM_GETDLGCODE processing to include the bits returned by the DefWindowProc() as well; removed unneeded SetFocus()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-21 00:32:56 +00:00
Ron Lee
566d84a7c3
Added knowledge of virtual size to wx(Scrolled)Windows, they can now
...
manage their own scrollbars with the help of a sizer or other user
clues (SetVirtualSizeHints) without the need for an ancillary container.
Added SetSizerAndFit convenience method.
SetSizer now enables/disables AutoLayout automagically.
Logic bugfix for scrollsub sample.
Syntax bugfix in parser.y.
Compiler warning fix in textctrl.cpp.
Modified Files:
docs/latex/wx/scrolwin.tex docs/latex/wx/sizer.tex
docs/latex/wx/window.tex include/wx/scrolwin.h
include/wx/sizer.h include/wx/window.h
include/wx/generic/scrolwin.h include/wx/gtk/scrolwin.h
samples/scrollsub/scrollsub.cpp src/common/parser.y
src/common/sizer.cpp src/common/wincmn.cpp
src/generic/scrlwing.cpp src/gtk/scrolwin.cpp
src/msw/textctrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 22:12:38 +00:00
Vadim Zeitlin
129223d68e
select the whole text in the single line text control when its SetFocus() is called (which also happens when the user TABs to it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 23:32:41 +00:00