wxWidgets/distrib/msw
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
..
tmake why the heck was the flag changed to T from Theme?! Broke my makefiles... 2002-09-04 22:07:19 +00:00
bc.rsp
contrib.rsp More script tweaks 2002-08-16 22:29:52 +00:00
copy_src.bat
copybase.bat Incremented version number 2002-08-20 11:51:14 +00:00
cw_mac.rsp Updated release scripts 2002-08-23 11:29:27 +00:00
cw.rsp Updated release scripts 2002-08-23 11:29:27 +00:00
dialoged.rsp
docsrc.rsp Added SVG to distribution scripts 2002-06-19 10:19:09 +00:00
dsw_files.zip
expdwild.bat
extradoc.rsp
filerepl.bat
generic.rsp Applied patch [ 598016 ] remove flicker during combo box creation 2002-08-22 09:41:05 +00:00
glcanvas.rsp
gtk.rsp
innobott.txt Further installation fixes 2002-08-18 18:24:23 +00:00
innotop.txt Misc mods for feedback from Marcin Wojdyr <wojdyr@if.pw.edu.pl> 2002-08-23 11:57:10 +00:00
jpeg.rsp
lower.bat Ditribution script mods; 2002-08-28 08:54:00 +00:00
mac.rsp Applied patch [ 603858 ] wxTextCtrl text alignment patch 2002-09-05 16:15:30 +00:00
makeall.bat
makedist.sh
makefile.rsp Use wxGenericImageList for wxMSW/wxUniv now; this 2002-08-18 22:42:58 +00:00
makeinno.bat
makewise.bat
makewise.sh
microwin.rsp
mmedia.rsp
motif.rsp
msw.rsp Applied patch [ 603858 ] wxTextCtrl text alignment patch 2002-09-05 16:15:30 +00:00
nplugin.rsp
ogl.rsp
os2.rsp os2 distribution response file 2002-07-30 14:13:48 +00:00
patch.rsp
process_all_samples_bcb.bat
process_sample_bcb.bat
readme.txt
rearchive.bat Corrected HTML index, other distro-related tweaks 2002-08-18 14:10:52 +00:00
splitwise.cpp
stc.rsp
stubs.rsp
tags.cmd added a 1 line script to generate the tags file for wxMSW 2002-08-14 15:04:04 +00:00
tardist Updated release scripts 2002-08-23 11:29:27 +00:00
tardist.bat
tarmicrowin.sh
tarwxmac Updated release scripts 2002-08-23 11:29:27 +00:00
tarwxmotif
tex2rtf.rsp Script tweaks 2002-08-16 17:08:47 +00:00
tiff.rsp
univ.rsp
user.rsp
utilmake.rsp Added helpview to distrib lists 2002-07-16 10:05:25 +00:00
utils.rsp More script tweaks 2002-08-16 22:29:52 +00:00
vc.rsp Use wxGenericImageList for wxMSW/wxUniv now; this 2002-08-18 22:42:58 +00:00
vcupdate.bat
wisebott.txt
wisesys.txt
wisetop.txt
wordstyle.dot
wx_chm.rsp
wx_hlp.rsp
wx_htb.rsp
wx_html.rsp
wx_pdf.rsp
wx_word.rsp
wxrc.rsp
wxtree.rsp
wxwin01.bmp
x11.rsp Version updates, manual date change, no change to dragimmg.cpp 2002-04-07 17:09:26 +00:00
xml.rsp
zipdist.bat Added define to STC VC++ project file 2002-04-08 20:17:40 +00:00
zipdist.sh
zipdistinno.bat Script updates 2002-08-29 13:52:26 +00:00
zipmac.bat
zipmac.sh
zippatch.bat Incremented version number 2002-08-20 11:51:14 +00:00
zipstc.bat
zipwxmac.bat Ditribution script mods; 2002-08-28 08:54:00 +00:00
zipwxos2.bat Script updates 2002-08-29 13:52:26 +00:00
zipxml.bat

Distribution scripts and lists
-----------------------------------------------------------------

This directory (distrib\msw) contains some 4DOS batch files
(.bat) and 'response' files (.rsp) to simplify the job of
producing distributions. The .rsp files specify which files are
associated with a particular module, e.g. wx200vc.rsp refers to
the VC++ project files, wx200gen.rsp represents the generic files,
wx200msw.rsp specifies the Windows specific files, etc.

When making a distribution on Windows, I call zipdist.bat to prepare
zip files with everything needed for Windows,
GTK and Motif. zipdist then unzips some of them into
deliver\wx, removes and adds a few files to perfect the
distribution.

zipdist then calls 'makewise.bat' to generate a new wxwin2.wse
script, for WISE Installer. It takes wisetop.txt, wisebott.txt
and adds the section for file installation. (If you've modified
wxwin2.wse using WISE Installer, simply compile and run splitwise.exe
to put back up-to-date wisetop.txt, wisebott.txt files before
running zipdist.)

Finally, zipdist runs WISE Installer using a command line
argument to produce the setup.* files automatically.

Note that although zipdist.bat produces archives for 3 platforms,
I only use a subset of these to produce the Windows-specific
setup.exe. I then have the option of distributing the zip files
as well.

You may need to install 4DOS to run these scripts. If anyone
wishes to remove 4DOS dependency, that's fine with me.

Julian Smart, 11th October 1999