]> git.saurik.com Git - wxWidgets.git/commitdiff
Some doc corrections
authorJulian Smart <julian@anthemion.co.uk>
Sun, 29 Feb 2004 13:02:01 +0000 (13:02 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 29 Feb 2004 13:02:01 +0000 (13:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/category.tex
docs/latex/wx/fontdlg.tex
docs/latex/wx/mltchdlg.tex
docs/latex/wx/tcommdlg.tex
docs/latex/wx/tvalidat.tex

index b42f790986bb7ee9de80cf85f98f8ced08be9e15..98e4f323fd7a85b768995cac2e01ecc47ae138d3 100644 (file)
@@ -63,13 +63,12 @@ in an application.
 \twocolitem{\helpref{wxDirDialog}{wxdirdialog}}{Directory selector dialog}
 \twocolitem{\helpref{wxFileDialog}{wxfiledialog}}{File selector dialog}
 \twocolitem{\helpref{wxFindReplaceDialog}{wxfindreplacedialog}}{Text search/replace dialog}
-\twocolitem{\helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog}}{Dialog to get one or more selections from a list}
+\twocolitem{\helpref{wxMultiChoiceDialog}{wxmultichoicedialog}}{Dialog to get one or more selections from a list}
 \twocolitem{\helpref{wxSingleChoiceDialog}{wxsinglechoicedialog}}{Dialog to get a single selection from a list and return the string}
 \twocolitem{\helpref{wxTextEntryDialog}{wxtextentrydialog}}{Dialog to get a single line of text from the user}
 \twocolitem{\helpref{wxFontDialog}{wxfontdialog}}{Font chooser dialog}
 \twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
 \twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
-\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
 \twocolitem{\helpref{wxMessageDialog}{wxmessagedialog}}{Simple message box dialog}
 \twocolitem{\helpref{wxWizard}{wxwizard}}{A wizard dialog.}
 \end{twocollist}
index 93e83bf0e692376d44059f2906a27c19dde43bb9..cfb372c9c2e583071ef06413226458b6566bcfac 100644 (file)
@@ -62,10 +62,7 @@ The default value is black.
 
 \func{wxFont}{GetChosenFont}{\void}
 
-Gets the font chosen by the user. If the user pressed OK (wxFontDialog::Show returned true), this returns
-a new font which is now `owned' by the application, and should be deleted
-if not required. If the user pressed Cancel (wxFontDialog::Show returned false) or
-the colour dialog has not been invoked yet, this will return NULL.
+Gets the font chosen by the user if the user pressed OK (wxFontDialog::ShowModal returned wxID\_OK).
 
 \membersection{wxFontData::GetEnableEffects}
 
index 709e91dfcec2e97f32d80a179116dd715c25183e..e4ad19bb79fc5b3fc2c2375328644d11c8f73722 100644 (file)
@@ -1,10 +1,8 @@
-\section{\class{wxMultipleChoiceDialog}}\label{wxmultiplechoicedialog}
+\section{\class{wxMultiChoiceDialog}}\label{wxmultichoicedialog}
 
 This class represents a dialog that shows a list of strings, and allows
 the user to select one or more.
 
-{\bf NOTE:} this class is not yet implemented.
-
 \wxheading{Derived from}
 
 \helpref{wxDialog}{wxdialog}\\
@@ -18,8 +16,7 @@ the user to select one or more.
 
 \wxheading{See also}
 
-\helpref{wxMultipleChoiceDialog overview}{wxmultiplechoicedialogoverview}
+\helpref{wxMultiChoiceDialog overview}{wxmultichoicedialogoverview}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
-
index 452d851d25d2088b2682605b96397971af1a0aaa..3060285bee6b84248119107a7ae23c7f331e492f 100644 (file)
@@ -4,7 +4,7 @@ Classes: \helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxFontDialog}{wxfont
 \rtfsp\helpref{wxPrintDialog}{wxprintdialog}, \helpref{wxFileDialog}{wxfiledialog},\rtfsp
 \helpref{wxDirDialog}{wxdirdialog}, \helpref{wxTextEntryDialog}{wxtextentrydialog},\rtfsp
 \helpref{wxMessageDialog}{wxmessagedialog}, \helpref{wxSingleChoiceDialog}{wxsinglechoicedialog},\rtfsp
-\helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog}
+\helpref{wxMultiChoiceDialog}{wxmultichoicedialog}
 
 Common dialog classes and functions encapsulate commonly-needed dialog box requirements.
 They are all `modal', grabbing the flow of control until the user dismisses the dialog,
@@ -95,8 +95,7 @@ font is shown on a white area of the dialog box. Note that
 in the translation from full MS Windows fonts to wxWindows font
 conventions, strikeout is ignored and a font family (such as
 Swiss or Modern) is deduced from the actual font name (such as Arial
-or Courier). The full range of Windows fonts cannot be used in wxWindows
-at present.
+or Courier).
 
 {\bf The generic font selector}
 
@@ -106,11 +105,6 @@ underlining and text foreground colour are provided, and
 a sample is shown upon a white background. The generic font selector
 is also available under MS Windows; use the name wxGenericFontDialog.
 
-In both cases, the application is responsible for deleting the
-new font returned from calling wxFontDialog::Show (if any).
-This returned font is guaranteed to be a new object and not
-one currently in use in the application.
-
 {\bf Example}
 
 In the samples/dialogs directory, there is an example of using
@@ -202,11 +196,10 @@ This dialog shows a list of choices, plus OK and (optionally) Cancel. The user c
 select one of them. The selection can be obtained from the dialog as an index,
 a string or client data.
 
-\subsection{wxMultipleChoiceDialog overview}\label{wxmultiplechoicedialogoverview}
+\subsection{wxMultiChoiceDialog overview}\label{wxmultichoicedialogoverview}
 
-Classes: \helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog}
+Classes: \helpref{wxMultiChoiceDialog}{wxmultichoicedialog}
 
 This dialog shows a list of choices, plus OK and (optionally) Cancel. The user can
 select one or more of them.
 
-
index f0ccdf69788136ba06306d3355d6873b8edd7f37..9cb7de38ec4cc3c21f81516da64b44ae892061bd 100644 (file)
@@ -101,16 +101,16 @@ this:
 \begin{verbatim}
 void wxDialog::OnOK(wxCommandEvent& event)
 {
-       if ( Validate() && TransferDataFromWindow() )
-       {
+    if ( Validate() && TransferDataFromWindow() )
+    {
         if ( IsModal() )
             EndModal(wxID_OK);
         else
         {
-                   SetReturnCode(wxID_OK);
-                   this->Show(false);
+            SetReturnCode(wxID_OK);
+            this->Show(false);
         }
-       }
+    }
 }
 \end{verbatim}