]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/iconbndl.tex
use 'neither ... nor ...' instead of 'neither ... or ...' in wxFinite documentation
[wxWidgets.git] / docs / latex / wx / iconbndl.tex
index e76082bb04cf246232786ebf9489bedba5662420..ac9fdece25fe74b603e8a2f33d1178e2d6be4297 100644 (file)
@@ -15,6 +15,7 @@ see also \helpref{wxDialog::SetIcons}{wxdialogseticons} and
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
+
 \membersection{wxIconBundle::wxIconBundle}\label{wxiconbundlewxiconbundle}
 
 \func{}{wxIconBundle}{\void}
 \membersection{wxIconBundle::wxIconBundle}\label{wxiconbundlewxiconbundle}
 
 \func{}{wxIconBundle}{\void}
@@ -33,12 +34,14 @@ Initializes the bundle with a single icon.
 
 Copy constructor.
 
 
 Copy constructor.
 
+
 \membersection{wxIconBundle::\destruct{wxIconBundle}}\label{wxiconbundledtor}
 
 \func{}{\destruct{wxIconBundle}}{\void}
 
 Destructor.
 
 \membersection{wxIconBundle::\destruct{wxIconBundle}}\label{wxiconbundledtor}
 
 \func{}{\destruct{wxIconBundle}}{\void}
 
 Destructor.
 
+
 \membersection{wxIconBundle::AddIcon}\label{wxiconbundleaddicon}
 
 \func{void}{AddIcon}{\param{const wxString\& }{file}, \param{long }{type}}
 \membersection{wxIconBundle::AddIcon}\label{wxiconbundleaddicon}
 
 \func{void}{AddIcon}{\param{const wxString\& }{file}, \param{long }{type}}
@@ -53,6 +56,7 @@ Adds the icon to the collection; if the collection already
 contains an icon with the same width and height, it is
 replaced by the new one.
 
 contains an icon with the same width and height, it is
 replaced by the new one.
 
+
 \membersection{wxIconBundle::GetIcon}\label{wxiconbundlegeticon}
 
 \constfunc{wxIcon}{GetIcon}{\param{const wxSize\& }{size}}
 \membersection{wxIconBundle::GetIcon}\label{wxiconbundlegeticon}
 
 \constfunc{wxIcon}{GetIcon}{\param{const wxSize\& }{size}}
@@ -67,18 +71,38 @@ returns the icon with size wxSYS\_ICON\_X/wxSYS\_ICON\_Y.
 
 Same as GetIcon( wxSize( size, size ) ).
 
 
 Same as GetIcon( wxSize( size, size ) ).
 
+
+\membersection{wxIconBundle::GetIconOfExactSize}\label{wxiconbundlegeticonofexactsize}
+
+\constfunc{wxIcon}{GetIconOfExactSize}{\param{const wxSize\& }{size}}
+
+Returns the icon with exactly the given size or \texttt{wxNullIcon} if this
+size is not available.
+
+
+\membersection{wxIconBundle::IsEmpty}\label{wxiconbundleisempty}
+
+\constfunc{bool}{IsEmpty}{\void}
+
+Returns \true if the bundle doesn't contain any icons, \false otherwise (in
+which case a call to \helpref{GetIcon()}{wxiconbundlegeticon} with default
+parameter should return a valid icon).
+
+
 \membersection{wxIconBundle::operator $=$}\label{wxiconbundleoperatorassign}
 
 \func{wxIconBundle\&}{operator $=$}{\param{const wxIconBundle\& }{ic}}
 
 Assignment operator, using \helpref{reference counting}{trefcount}.
 
 \membersection{wxIconBundle::operator $=$}\label{wxiconbundleoperatorassign}
 
 \func{wxIconBundle\&}{operator $=$}{\param{const wxIconBundle\& }{ic}}
 
 Assignment operator, using \helpref{reference counting}{trefcount}.
 
+
 \membersection{wxIconBundle::operator $==$}\label{wxiconbundleoperatorequals}
 
 \func{bool}{operator $==$}{\param{const wxIconBundle\& }{ic}}
 
 Equality operator. This returns \true if two icon bundles are equal.
 
 \membersection{wxIconBundle::operator $==$}\label{wxiconbundleoperatorequals}
 
 \func{bool}{operator $==$}{\param{const wxIconBundle\& }{ic}}
 
 Equality operator. This returns \true if two icon bundles are equal.
 
+
 \membersection{wxIconBundle::operator $!=$}\label{wxiconbundleoperatornotequals}
 
 \func{bool}{operator $!=$}{\param{const wxIconBundle\& }{ic}}
 \membersection{wxIconBundle::operator $!=$}\label{wxiconbundleoperatornotequals}
 
 \func{bool}{operator $!=$}{\param{const wxIconBundle\& }{ic}}