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 Some BC++ 5.4 fixes 2000-02-11 13:29:43 +00:00
contrib.rsp More script tweaks 2002-08-16 22:29:52 +00:00
copy_src.bat Small optical changes for MSW 1999-08-23 15:23:29 +00:00
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 Misc small changes 2000-03-19 19:55:13 +00:00
docsrc.rsp Added SVG to distribution scripts 2002-06-19 10:19:09 +00:00
dsw_files.zip Added zip file containing DSW files for samples and demos 2001-11-22 14:20:12 +00:00
expdwild.bat second merge of the 2.2 branch (RL) 2000-08-08 06:11:51 +00:00
extradoc.rsp merged 2.2 branch 2000-07-15 19:51:35 +00:00
filerepl.bat second merge of the 2.2 branch (RL) 2000-08-08 06:11:51 +00:00
generic.rsp Applied patch [ 598016 ] remove flicker during combo box creation 2002-08-22 09:41:05 +00:00
glcanvas.rsp Moved wxGLCanvas to more normal positions 2000-02-28 08:22:57 +00:00
gtk.rsp Fixes for distribution scripts 2000-10-12 16:32:03 +00:00
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 More tweaks to wxMicroWi 2001-12-22 19:43:44 +00:00
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 Minor mods 2001-04-26 10:17:58 +00:00
makedist.sh Small mods 2000-12-04 16:44:50 +00:00
makefile.rsp Use wxGenericImageList for wxMSW/wxUniv now; this 2002-08-18 22:42:58 +00:00
makeinno.bat Updated distribution scripts 2001-04-29 13:42:03 +00:00
makewise.bat makeg95.env edited for Mingw32/gcc 2.95 compilation; _T not redefined for 1999-10-14 12:37:52 +00:00
makewise.sh Added distribution script 2000-10-13 15:04:40 +00:00
microwin.rsp Fix to minimal sample project file; changed protected -> public in wxGIFDecoder 2001-07-02 10:06:51 +00:00
mmedia.rsp Changes to ProjGen for new sample filenames 2000-03-15 12:11:38 +00:00
motif.rsp Added shared private declarations header privx.h, utils.cpp now shared 2002-02-13 16:17:29 +00:00
msw.rsp Applied patch [ 603858 ] wxTextCtrl text alignment patch 2002-09-05 16:15:30 +00:00
nplugin.rsp Added WinHelp sample doc to samples/help, and made it possible to show 2000-03-08 13:04:51 +00:00
ogl.rsp merged 2.2 branch 2000-07-15 19:51:35 +00:00
os2.rsp os2 distribution response file 2002-07-30 14:13:48 +00:00
patch.rsp Patch mods 2001-12-19 23:32:48 +00:00
process_all_samples_bcb.bat These add .mak (for BCB1) and .bpr (for BCB3 and 4) files for CBuilder in 2001-06-14 13:33:39 +00:00
process_sample_bcb.bat These add .mak (for BCB1) and .bpr (for BCB3 and 4) files for CBuilder in 2001-06-14 13:33:39 +00:00
readme.txt Added some setup files 1999-10-13 16:30:46 +00:00
rearchive.bat Corrected HTML index, other distro-related tweaks 2002-08-18 14:10:52 +00:00
splitwise.cpp Added some setup files 1999-10-13 16:30:46 +00:00
stc.rsp Changes to ProjGen for new sample filenames 2000-03-15 12:11:38 +00:00
stubs.rsp Renamed .nt makefiles to .vc and factored them out; made DND sample compile 1999-01-24 19:13:55 +00:00
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 *** empty log message *** 1998-05-22 19:57:05 +00:00
tarmicrowin.sh Further wxUniv fixes 2001-06-29 19:18:30 +00:00
tarwxmac Updated release scripts 2002-08-23 11:29:27 +00:00
tarwxmotif merged 2.2 branch 2000-07-15 19:51:35 +00:00
tex2rtf.rsp Script tweaks 2002-08-16 17:08:47 +00:00
tiff.rsp More tweaks to wxMicroWi 2001-12-22 19:43:44 +00:00
univ.rsp Minor doc changes 2001-12-18 20:25:32 +00:00
user.rsp A fix for wxTaskBarIcon (temporary wxFrame interfering with app shutdown); 1999-08-09 20:49:34 +00:00
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 Updated VC++ files 2002-01-18 14:33:01 +00:00
wisebott.txt merged 2.2 branch 2000-07-15 19:51:35 +00:00
wisesys.txt Made some treectrl sample icons transparent; added toolbar.h to wx.h 1999-11-17 14:29:00 +00:00
wisetop.txt Fixes for distribution scripts 2000-10-12 16:32:03 +00:00
wordstyle.dot Added MS Word template file to be applied to manual before generation of PDF 2001-04-25 15:45:24 +00:00
wx_chm.rsp merged 2.2 branch 2000-07-15 19:51:35 +00:00
wx_hlp.rsp Made VC++ makefiles and project files a bit more consistent 2000-03-08 08:32:31 +00:00
wx_htb.rsp merged 2.2 branch 2000-07-15 19:51:35 +00:00
wx_html.rsp merged 2.2 branch 2000-07-15 19:51:35 +00:00
wx_pdf.rsp Win16 BC++ makefile fixes, other v. small fixes 2000-03-20 16:32:55 +00:00
wx_word.rsp Added some files 1998-12-08 23:34:49 +00:00
wxrc.rsp WIN32 compilation of wxrc, wxrcedit 2000-07-26 12:40:49 +00:00
wxtree.rsp Fixed property list OnClose problem that caused Dialog Editor problem 1999-02-09 18:19:15 +00:00
wxwin01.bmp makeg95.env edited for Mingw32/gcc 2.95 compilation; _T not redefined for 1999-10-14 12:37:52 +00:00
x11.rsp Version updates, manual date change, no change to dragimmg.cpp 2002-04-07 17:09:26 +00:00
xml.rsp Reduced true colour icon (!) to 16 colours, updated project files and scripts 2001-06-17 22:41:45 +00:00
zipdist.bat Added define to STC VC++ project file 2002-04-08 20:17:40 +00:00
zipdist.sh Small mod 2001-02-12 18:12:10 +00:00
zipdistinno.bat Script updates 2002-08-29 13:52:26 +00:00
zipmac.bat Fixed memory leak in textcmn.cpp 2001-06-06 11:17:30 +00:00
zipmac.sh *** empty log message *** 2001-05-04 14:50:17 +00:00
zippatch.bat Incremented version number 2002-08-20 11:51:14 +00:00
zipstc.bat Changes to ProjGen for new sample filenames 2000-03-15 12:11:38 +00:00
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 Updated distribution scripts 2001-04-29 13:42:03 +00:00

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