Small mods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-08-20 19:55:35 +00:00
parent cff4d2f859
commit 07793870fb
10 changed files with 44 additions and 29 deletions

View File

@@ -29,6 +29,7 @@ include/wx/motif/*.h
include/install-sh include/install-sh
include/wx/install-sh include/wx/install-sh
docs/base/*.txt
docs/motif/*.txt docs/motif/*.txt
docs/motif/makewxmotif docs/motif/makewxmotif

View File

@@ -1,9 +1,10 @@
#!/bin/sh #!/bin/sh
# tardist: make up a tar.gz distribution of wxWindows 2 # tardist: make up a tar.gz distribution of wxWindows 2
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver) # Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
# THIS SCRIPT IS OBSOLETE: USE E.G. TARWXMOTIF INSTEAD
init="" init=""
WXVER=2.1.16 WXVER=2.2.1
if [ $1 = "" ] if [ $1 = "" ]
then then
exit exit

View File

@@ -3,7 +3,7 @@
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver) # Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
init="" init=""
WXVER=2.2.0 WXVER=2.2.1
if [ $1 = "" ] if [ $1 = "" ]
then then
exit exit

View File

@@ -14,6 +14,7 @@ if "%1" == "--help" goto usage
if "%1" == "/?" goto usage if "%1" == "/?" goto usage
if "%1" == "wiseonly" goto dounzip if "%1" == "wiseonly" goto dounzip
if "%1" == "wise" set wise=1 if "%1" == "wise" set wise=1
if "%1" == "tidyup" goto tidyup
echo About to archive an external wxWindows distribution: echo About to archive an external wxWindows distribution:
echo From %src echo From %src
echo To %dest echo To %dest
@@ -201,6 +202,7 @@ start %wisecmd
pause Press any key to continue with the wxWindows distribution... pause Press any key to continue with the wxWindows distribution...
Rem ren %WXWIN\deliver\setup.EXE %WXWIN\deliver\wxMSW-%version%-setup.exe Rem ren %WXWIN\deliver\setup.EXE %WXWIN\deliver\wxMSW-%version%-setup.exe
:tidyup
cd %dest cd %dest
Rem tidy up capitalisation of filenames Rem tidy up capitalisation of filenames

View File

@@ -87,7 +87,7 @@ by projgen).<P>
<li>Build the WinHelp, HTML, and PDF documentation <li>Build the WinHelp, HTML, and PDF documentation
via the VC++ makefile, src/msw/makefile.vc. You can use e.g. the targets <b>cleandocs alldocs</b>. Check the via the VC++ makefile, src/msw/makefile.vc. You can use e.g. the targets <b>cleandocs alldocs</b>. Check the
output of the Windows Help Compiler for missing links, and edit/recompile the docs if necessary. The PDF documentation is produced from the Word RTF output of the Windows Help Compiler for missing links, and edit/recompile the docs if necessary. The PDF documentation is produced from the Word RTF
document, and read into Word. Apply the wxManual Style Template to improve presentation. Select all, press F9 to reformat the fields. Check the table of contents for document, and read into Word. Apply the wxManual Style Template to improve presentation (Format|Style Gallery...). Select all, press F9 to reformat the fields. Check the table of contents for
overspill from the body of a section into the TOC. If there's a problem, it's due to the lack of a overspill from the body of a section into the TOC. If there's a problem, it's due to the lack of a
blank line at the end of the relevant .tex file. Insert the blank line, regenerate the RTF, and reload into Word. blank line at the end of the relevant .tex file. Insert the blank line, regenerate the RTF, and reload into Word.
Then use Adobe Distiller to generate the PDF.<P> Then use Adobe Distiller to generate the PDF.<P>
@@ -109,6 +109,7 @@ e.g. using distrib\msw\makeall.bat.<P>
to create .tgz files for wxMotif.<P> to create .tgz files for wxMotif.<P>
<li>Upload the appropriate files to the SourceGear ftp site.<P> <li>Upload the appropriate files to the SourceGear ftp site.<P>
<li>Download Robert's wxGTK files and upload to the SourceGear ftp site.<P> <li>Download Robert's wxGTK files and upload to the SourceGear ftp site.<P>
<li>Update the web site front page, news, download and CD-ROM pages to reflect the new version.<P>
<li>If updating the CD-ROM hierarchy as well, follow these steps using the CD-ROM makefile: <li>If updating the CD-ROM hierarchy as well, follow these steps using the CD-ROM makefile:
<ol> <ol>
<li>Edit WXDISTDIR in the makefile and change to the correct distribution directory for this version. <li>Edit WXDISTDIR in the makefile and change to the correct distribution directory for this version.

View File

@@ -18,6 +18,13 @@ News
</tr> </tr>
</table> </table>
<H3><a name="release2_2_1">August 13th, 2000</H3><P>
<ul>
<li><a href="download.htm" target=wxmain>wxWindows 2.2.1</a> is the latest official stable release.
The most bug-free, easiest-to-install release yet...
</ul>
<H3>July 28th, 2000</H3><P> <H3>July 28th, 2000</H3><P>
<ul> <ul>

View File

@@ -377,8 +377,8 @@ Ends a document page (only relevant when outputting to a printer).
\func{void}{FloodFill}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{const wxColour\&}{ colour}, \param{int}{ style=wxFLOOD\_SURFACE}} \func{void}{FloodFill}{\param{wxCoord}{ x}, \param{wxCoord}{ y}, \param{const wxColour\&}{ colour}, \param{int}{ style=wxFLOOD\_SURFACE}}
Flood fills the device context starting from the given point, in the given colour, Flood fills the device context starting from the given point, using
and using a style: the {\it current brush colour}, and using a style:
\begin{itemize}\itemsep=0pt \begin{itemize}\itemsep=0pt
\item wxFLOOD\_SURFACE: the flooding occurs until a colour other than the given colour is encountered. \item wxFLOOD\_SURFACE: the flooding occurs until a colour other than the given colour is encountered.

View File

@@ -640,27 +640,6 @@ the button text. This function can be useful for meta-programs (such as testing
tools or special-needs access programs) which need to identify windows tools or special-needs access programs) which need to identify windows
by name. by name.
\membersection{wxWindow::GetPosition}
\constfunc{virtual void}{GetPosition}{\param{int* }{x}, \param{int* }{y}}
This gets the position of the window in pixels, relative to the parent window or
if no parent, relative to the whole display.
\wxheading{Parameters}
\docparam{x}{Receives the x position of the window.}
\docparam{y}{Receives the y position of the window.}
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf GetPosition()}}{Returns a wxPoint}
\twocolitem{{\bf GetPositionTuple()}}{Returns a tuple (x, y)}
\end{twocollist}}
}
\membersection{wxWindow::GetName}\label{wxwindowgetname} \membersection{wxWindow::GetName}\label{wxwindowgetname}
\constfunc{virtual wxString }{GetName}{\void} \constfunc{virtual wxString }{GetName}{\void}
@@ -682,6 +661,29 @@ name in the window constructor or via \helpref{wxWindow::SetName}{wxwindowsetnam
Returns the parent of the window, or NULL if there is no parent. Returns the parent of the window, or NULL if there is no parent.
\membersection{wxWindow::GetPosition}\label{wxwindowgetposition}
\constfunc{virtual void}{GetPosition}{\param{int* }{x}, \param{int* }{y}}
\constfunc{wxPoint}{GetPosition}{\void}
This gets the position of the window in pixels, relative to the parent window or
if no parent, relative to the whole display.
\wxheading{Parameters}
\docparam{x}{Receives the x position of the window.}
\docparam{y}{Receives the y position of the window.}
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{{\bf GetPosition()}}{Returns a wxPoint}
\twocolitem{{\bf GetPositionTuple()}}{Returns a tuple (x, y)}
\end{twocollist}}
}
\membersection{wxWindow::GetRect}\label{wxwindowgetrect} \membersection{wxWindow::GetRect}\label{wxwindowgetrect}
\constfunc{virtual wxRect}{GetRect}{\void} \constfunc{virtual wxRect}{GetRect}{\void}

View File

@@ -686,9 +686,9 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
wxPoint(165, 115), wxDefaultSize, wxPoint(165, 115), wxDefaultSize,
WXSIZEOF(choices10), choices10, WXSIZEOF(choices10), choices10,
3, wxRA_SPECIFY_COLS); 3, wxRA_SPECIFY_COLS);
radio2->SetToolTip("Test tooltip");
#if wxUSE_TOOLTIPS #if wxUSE_TOOLTIPS
radio2->SetToolTip("Test tooltip");
m_combo->SetToolTip("This is a natural\ncombobox - can you believe me?"); m_combo->SetToolTip("This is a natural\ncombobox - can you believe me?");
m_radio->SetToolTip("Ever seen a radiobox?"); m_radio->SetToolTip("Ever seen a radiobox?");
#endif // wxUSE_TOOLTIPS #endif // wxUSE_TOOLTIPS

View File

@@ -6,7 +6,6 @@
* Copyright: (C) 1998, Robert Roebling * Copyright: (C) 1998, Robert Roebling
* *
*/ */
// For compilers that support precompilation, includes "wx/wx.h". // For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h" #include "wx/wxprec.h"
@@ -340,7 +339,8 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
dc.SetTextForeground( "BLACK" ); dc.SetTextForeground( "BLACK" );
} }
// Doesn't work for wxMotif yet
#ifndef __WXMOTIF__
wxBitmap mono( 60,50,1 ); wxBitmap mono( 60,50,1 );
wxMemoryDC memdc; wxMemoryDC memdc;
memdc.SelectObject( mono ); memdc.SelectObject( mono );
@@ -376,6 +376,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
dc.DrawBitmap( i.ConvertToBitmap(), 150, 1900, TRUE ); dc.DrawBitmap( i.ConvertToBitmap(), 150, 1900, TRUE );
dc.SetTextForeground( "BLACK" ); dc.SetTextForeground( "BLACK" );
} }
#endif
dc.DrawText("XPM bitmap", 30, 2000); dc.DrawText("XPM bitmap", 30, 2000);
if ( m_bmpSmileXpm.Ok() ) if ( m_bmpSmileXpm.Ok() )