]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/statusbr.tex
Documented wxListCtrl::GetColumnCount
[wxWidgets.git] / docs / latex / wx / statusbr.tex
index 976d90ddc7ef0ba5266fe19b11b30d1b88e8a9a0..5cb6f47a867efba69243633eb9cec77ad8d254f3 100644 (file)
@@ -22,7 +22,7 @@ be variable length according to the size of the window.
 
 \twocolwidtha{5cm}
 \begin{twocollist}\itemsep=0pt
-\twocolitem{\windowstyle{wxSB\_SIZEGRIP}}{On Windows 95, displays a gripper at right-hand side of
+\twocolitem{\windowstyle{wxST\_SIZEGRIP}}{On Windows 95, displays a gripper at right-hand side of
 the status bar.}
 \end{twocollist}
 
@@ -46,8 +46,7 @@ from an {\bf OnSize} event handler.
 Default constructor.
 
 \func{}{wxStatusBar}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp
-\param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp
-\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp
+\param{long}{ style = wxST\_SIZEGRIP},\rtfsp
 \param{const wxString\& }{name = ``statusBar"}}
 
 Constructor, creating the window.
@@ -58,12 +57,6 @@ Constructor, creating the window.
 
 \docparam{id}{The window identifier. It may take a value of -1 to indicate a default value.}
 
-\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by
-either the windowing system or wxWindows, depending on platform.}
-
-\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by
-either the windowing system or wxWindows, depending on platform.}
-
 \docparam{style}{The window style. See \helpref{wxStatusBar}{wxstatusbar}.}
 
 \docparam{name}{The name of the window. This parameter is used to associate a name with the item,
@@ -83,8 +76,7 @@ Destructor.
 \membersection{wxStatusBar::Create}\label{wxstatusbarcreate}
 
 \func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp
-\param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp
-\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = 0},\rtfsp
+\param{long}{ style = wxST\_SIZEGRIP},\rtfsp
 \param{const wxString\& }{name = ``statusBar"}}
 
 Creates the window, for two-step construction.
@@ -138,6 +130,24 @@ The status field string if the field is valid, otherwise the empty string.
 
 \helpref{wxStatusBar::SetStatusText}{wxstatusbarsetstatustext}
 
+\membersection{wxStatusBar::PopStatusText}\label{wxstatusbarpushstatustext}
+
+\func{void}{PopStatusText}{\param{int}{ field = 0}}
+
+Sets the field text to the top of the stack, and pops the stack of saved
+strings.
+
+\wxheading{See also}
+
+\helpref{wxStatusBar::PushStatusText}{wxstatusbarpushstatustext}
+
+\membersection{wxStatusBar::PushStatusText}\label{wxstatusbarpushstatustext}
+
+\func{void}{PushStatusText}{\param{const wxString&}{ string}, \param{int}{ field = 0}}
+
+Saves the current field text in a per field stack, and sets the field text
+to the string passed as argument.
+
 %% VZ: these functions are not in wxStatusBar API, these are just
 %%     implementation details of wxStatusBarGeneric
 %%
@@ -213,7 +223,7 @@ Sets the number of fields, and optionally the field widths.
 \pythonnote{Only the first parameter is accepted.  Use SetStatusWidths
 to set the widths of the fields.}
 
-\perlnote{In wxPerl this function acceps only the {\tt n} parameter.
+\perlnote{In wxPerl this function accepts only the {\tt n} parameter.
 Use SetStatusWidths to set the field widths.}
 
 \wxheading{Parameters}