mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-19 12:23:07 +08:00
Some manual updates; in MDI sample, child frames now have default size/position (hope
it's OK in wxGTK!) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
+105
-216
File diff suppressed because it is too large
Load Diff
@@ -25,11 +25,11 @@
|
||||
\parskip=10pt
|
||||
\parindent=0pt
|
||||
\title{User Manual for wxWindows 2.0: a portable C++ GUI toolkit}
|
||||
\winhelponly{\author{by Julian Smart and Markus Holzem
|
||||
\winhelponly{\author{by Julian Smart
|
||||
%\winhelponly{\\$$\image{1cm;0cm}{wxwin.wmf}$$}
|
||||
}}
|
||||
\winhelpignore{\author{Julian Smart}
|
||||
\date{June 4th 1998}
|
||||
\date{July 31st 1998}
|
||||
}
|
||||
\makeindex
|
||||
\begin{document}
|
||||
@@ -84,7 +84,8 @@
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
\begin{center}
|
||||
Copyright (c) 1997 Julian Smart and Markus Holzem\\
|
||||
Copyright (c) 1998 Julian Smart, Markus Holzem, Robert Roebling and other
|
||||
members of the wxWindows team\\
|
||||
Portions (c) 1996 Artificial Intelligence Applications Institute\\
|
||||
\end{center}
|
||||
|
||||
@@ -98,7 +99,7 @@ IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
|
||||
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE
|
||||
UNIVERSITY OF EDINBURGH OR JULIAN SMART OR MARKUS HOLZEM BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
|
||||
UNIVERSITY OF EDINBURGH OR ANY MEMBERS OF THE WXWINDOWS TEAM BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
|
||||
CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF
|
||||
DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
|
||||
@@ -109,6 +110,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
\helpinput{category.tex}
|
||||
\helpinput{topics.tex}
|
||||
|
||||
\begin{comment}
|
||||
\newpage
|
||||
|
||||
% Puts books in the bibliography without needing to cite them in the
|
||||
@@ -124,6 +126,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
\addcontentsline{toc}{chapter}{Bibliography}
|
||||
\setheader{{\it REFERENCES}}{}{}{}{}{{\it REFERENCES}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
\end{comment}
|
||||
|
||||
\newpage
|
||||
\addcontentsline{toc}{chapter}{Index}
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
\parskip=10pt
|
||||
\parindent=0pt
|
||||
\title{Reference Manual for wxWindows 2.0: a portable C++ GUI toolkit}
|
||||
\author{Julian Smart and Markus Holzem}
|
||||
\date{October 21st 1997}
|
||||
\author{Julian Smart}
|
||||
\date{July 31st 1998}
|
||||
|
||||
\makeindex
|
||||
\begin{document}
|
||||
@@ -37,7 +37,8 @@
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}
|
||||
|
||||
\begin{center}
|
||||
Copyright (c) 1997 Julian Smart and Markus Holzem\\
|
||||
Copyright (c) 1998 Julian Smart, Markus Holzem, Robert Roebling and other
|
||||
members of the wxWindows team\\
|
||||
Portions (c) 1996 Artificial Intelligence Applications Institute\\
|
||||
\end{center}
|
||||
|
||||
@@ -51,7 +52,7 @@ IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
|
||||
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE
|
||||
UNIVERSITY OF EDINBURGH OR JULIAN SMART OR MARKUS HOLZEM BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
|
||||
UNIVERSITY OF EDINBURGH OR ANY MEMBERS OF THE WXWINDOWS TEAM BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
|
||||
CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF
|
||||
DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
|
||||
|
||||
@@ -130,8 +130,7 @@ scrolling in that direction.
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars},\rtfsp
|
||||
\helpref{wxScrolledWindow::GetVirtualSize}{wxscrolledwindowgetvirtualsize},\rtfsp
|
||||
\helpref{wxWindow::GetScrollPage}{wxwindowgetscrollpage}
|
||||
\helpref{wxScrolledWindow::GetVirtualSize}{wxscrolledwindowgetvirtualsize}
|
||||
|
||||
\membersection{wxScrolledWindow::GetVirtualSize}\label{wxscrolledwindowgetvirtualsize}
|
||||
|
||||
@@ -155,8 +154,7 @@ to translate these units to logical units.
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxScrolledWindow::SetScrollbars}{wxscrolledwindowsetscrollbars},\rtfsp
|
||||
\helpref{wxScrolledWindow::GetScrollPixelsPerUnit}{wxscrolledwindowgetscrollpixelsperunit},\rtfsp
|
||||
\helpref{wxWindow::GetScrollPage}{wxwindowgetscrollpage}
|
||||
\helpref{wxScrolledWindow::GetScrollPixelsPerUnit}{wxscrolledwindowgetscrollpixelsperunit}
|
||||
|
||||
\membersection{wxScrolledWindow::IsRetained}\label{wxscrolledwindowisretained}
|
||||
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
Classes: \helpref{wxString}{wxstring}
|
||||
|
||||
TODO.
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ around the bitmap (for colour displays where inverting will not have
|
||||
the desired result).
|
||||
|
||||
The Windows-specific toolbar classes expect 16-colour bitmaps that are 16 pixels wide and 15 pixels
|
||||
high. If you want to use a different size, call {\bf SetDefaultSize}\rtfsp
|
||||
high. If you want to use a different size, call {\bf SetToolBitmapSize}\rtfsp
|
||||
as the demo shows, before adding tools to the button bar. Don't supply more than
|
||||
one bitmap for each tool, because the toolbar generates all three images (normal,
|
||||
depressed and checked) from the single bitmap you give it.
|
||||
|
||||
+4
-4
@@ -115,12 +115,12 @@ void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
|
||||
void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
// Make another frame, containing a canvas
|
||||
MyChild *subframe = new MyChild(frame, "Canvas Frame", wxPoint(4, 4), wxSize(100, 100),
|
||||
MyChild *subframe = new MyChild(frame, "Canvas Frame", wxPoint(-1, -1), wxSize(-1, -1),
|
||||
wxDEFAULT_FRAME);
|
||||
|
||||
char titleBuf[100];
|
||||
sprintf(titleBuf, "Canvas Frame %d", winNumber);
|
||||
subframe->SetTitle(titleBuf);
|
||||
wxString title;
|
||||
title.Printf("Canvas Frame %d", winNumber);
|
||||
subframe->SetTitle(title);
|
||||
winNumber ++;
|
||||
|
||||
// Give it an icon (this is ignored in MDI mode: uses resources)
|
||||
|
||||
+1
-1
@@ -1123,7 +1123,7 @@ cleanall: clean
|
||||
|
||||
# Making documents
|
||||
docs: hlp
|
||||
hlp: wxhlp refhlp portinghlp # faqhlp
|
||||
hlp: wxhlp portinghlp # faqhlp
|
||||
wxhlp: $(DOCDIR)/winhelp/wx.hlp
|
||||
faqhlp: $(DOCDIR)/winhelp/faq.hlp
|
||||
refhlp: $(DOCDIR)/winhelp/techref.hlp
|
||||
|
||||
Reference in New Issue
Block a user