~ubuntu-branches/ubuntu/maverick/wxwidgets2.8/maverick-proposed

« back to all changes in this revision

Viewing changes to docs/latex/wx/docmanag.tex

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2008-06-30 22:02:17 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080630220217-vag3tkfp91t0453d
Tags: 2.8.8.0-0ubuntu1
* New upstream version, based on the upstream tarball
  wxPython-src-2.8.8.0.tar.bz2, remove upstream debian dir (LP: #244355).
* Add debian/watch file, LP: #242164.
* Edit get-orig-source target to provide a .orig.tar.gz with the same md5 for
  each .orig.tar.gz generated.
* debian/rules: remove get-orig-source from .PHONY target.
* debian/control.in: add python-wxtools in python-wxgtk=V=U Suggests field.
* Do not apply fix_from_upstream_svn_r52465 patch, not needed.
* Regenerate octave_oct, tcl_tk_tcl patches for the new version.
* Fix spelling-error-in-description lintian warning.
* Fix depends-on-obsolete-package lintian error.
* Fix executable-not-elf-or-script lintian warnings.
* Fix script-not-executable lintian warnings.
* Fix missing-dependency-on-libc lintian error.
* Fix dbg-package-missing-depends lintian warnings.
* Fix package-contains-empty-directory lintian warnings.
* Fix manpage-has-errors-from-man lintian warning.
* Fix image-file-in-usr-lib lintian warnings:
  - add editra_pixmaps patch
  - add xrced_bitmaps patch
* Fix unused-override lintian info.
* Fix malformed-override lintian errors.
* Fix extra-license-file lintian warnings.
* Install upstream wx.pth instead of generated file links (LP: #211553).
* Add editra.png, pyshell.png (encoded using uuencode) icons, LP: #236876:
  - debian/rules: use uudecode to decode .png icons.
* Add a new pyshell.xpm icon.
* Fix doc-base-file-references-missing-file lintian error.
* Fix doc-base-unknown-section lintian warning.
* Fix ruby-script-but-no-ruby-dep lintian errors.
* Fix wish-script-but-no-wish-dep lintian errors.
* Fix missing-dep-for-interpreter errors.
* Bump Standards-Version to 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
%% Author:      wxWidgets Team
5
5
%% Modified by:
6
6
%% Created:     
7
 
%% RCS-ID:      $Id: docmanag.tex 33428 2005-04-08 14:34:30Z MW $
 
7
%% RCS-ID:      $Id: docmanag.tex 53699 2008-05-22 06:34:00Z BP $
8
8
%% Copyright:   (c) wxWidgets Team
9
9
%% License:     wxWindows license
10
10
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
324
324
 
325
325
\func{bool}{MakeDefaultName}{\param{const wxString\& }{buf}}
326
326
 
327
 
Copies a suitable default name into {\it buf}. This is implemented by
328
 
appending an integer counter to the string {\bf unnamed} and incrementing
329
 
the counter.
 
327
This method is preserved for backwards compatibility in wxWidgets 2.8 but is
 
328
renamed to \helpref{MakeNewDocumentName}{wxdocmanagermakenewdocumentname} in
 
329
wxWidgets 3.0, please see its description for the details.
 
330
 
 
331
This function simply copies the value returned by MakeNewDocumentName() into
 
332
the provided \arg{buf} and returns \true.
330
333
 
331
334
\perlnote{In wxPerl this function must return the modified name rather
332
335
than just modifying the argument.}
333
336
 
334
337
 
 
338
\membersection{wxDocManager::MakeNewDocumentName}\label{wxdocmanagermakenewdocumentname}
 
339
 
 
340
\func{wxString}{MakeNewDocumentName}{\void}
 
341
 
 
342
Returns the name to be used for a new document. The default implementation
 
343
appends an integer counter to the string {\bf unnamed} and increments the
 
344
counter. To customize this behaviour, you need to override the virtual 
 
345
\helpref{MakeNewDocumentName}{wxdocmanagermakedefaultname} method but if you
 
346
only need to call this method, an not to override it, please use this method
 
347
which is forward-compatible with wxWidgets 3.0.
 
348
 
 
349
\newsince{2.8.8}
 
350
 
 
351
 
335
352
\membersection{wxDocManager::OnCreateFileHistory}\label{wxdocmanageroncreatefilehistory}
336
353
 
337
354
\func{wxFileHistory *}{OnCreateFileHistory}{\void}