Some doc corrections; removed wxDocument arg from wxView constructor;
wxTextCtrl::OnChar correction; added SetString and default constructor to wxStringTokenizer; added missing MSW wxFrame::SetSize functions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1551,6 +1551,75 @@ calling this function.
|
||||
\helpref{wxWindow::Refresh}{wxwindowrefresh},\rtfsp
|
||||
\helpref{wxWindow::OnEraseBackground}{wxwindowonerasebackground}
|
||||
|
||||
\membersection{wxWindow::SetClientSize}\label{wxwindowsetclientsize}
|
||||
|
||||
\func{virtual void}{SetClientSize}{\param{int}{ width}, \param{int}{ height}}
|
||||
|
||||
\func{virtual void}{SetClientSize}{\param{const wxSize\&}{ size}}
|
||||
|
||||
This sets the size of the window client area in pixels. Using this function to size a window
|
||||
tends to be more device-independent than \helpref{wxWindow::SetSize}{wxwindowsetsize}, since the application need not
|
||||
worry about what dimensions the border or title bar have when trying to fit the window
|
||||
around panel items, for example.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{width}{The required client area width.}
|
||||
|
||||
\docparam{height}{The required client area height.}
|
||||
|
||||
\docparam{size}{The required client size.}
|
||||
|
||||
\membersection{wxWindow::SetCursor}\label{wxwindowsetcursor}
|
||||
|
||||
\func{virtual void}{SetCursor}{\param{const wxCursor\&}{cursor}}
|
||||
|
||||
Sets the window's cursor.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{cursor}{Specifies the cursor that the window should normally display.}
|
||||
|
||||
\wxheading{Remarks}
|
||||
|
||||
Under Windows, you sometimes need to call ::wxSetCursor in addition to this
|
||||
function if you want the cursor to change immediately, because under Windows,
|
||||
wxWindows only sets the global cursor when it detects mouse movement.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{::wxSetCursor}{wxsetcursor}, \helpref{wxCursor}{wxcursor}
|
||||
|
||||
\membersection{wxWindow::SetEventHandler}\label{wxwindowseteventhandler}
|
||||
|
||||
\func{void}{SetEventHandler}{\param{wxEvtHandler* }{handler}}
|
||||
|
||||
Sets the event handler for this window.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{handler}{Specifies the handler to be set.}
|
||||
|
||||
\wxheading{Remarks}
|
||||
|
||||
An event handler is an object that is capable of processing the events
|
||||
sent to a window. By default, the window is its own event handler, but
|
||||
an application may wish to substitute another, for example to allow
|
||||
central implementation of event-handling for a variety of different
|
||||
window classes.
|
||||
|
||||
It is usually better to use \helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler} since
|
||||
this sets up a chain of event handlers, where an event not handled by one event handler is
|
||||
handed to the next one in the chain.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::GetEventHandler}{wxwindowgeteventhandler},\rtfsp
|
||||
\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp
|
||||
\helpref{wxWindow::PopEventHandler}{wxwindowpusheventhandler},\rtfsp
|
||||
\helpref{wxEvtHandler::ProcessEvent}{wxevthandlerprocessevent},\rtfsp
|
||||
\helpref{wxEvtHandler}{wxevthandler}
|
||||
|
||||
\membersection{wxWindow::SetConstraints}\label{wxwindowsetconstraints}
|
||||
|
||||
\func{void}{SetConstraints}{\param{wxLayoutConstraints* }{constraints}}
|
||||
@@ -1657,6 +1726,12 @@ Sets the window's name.
|
||||
|
||||
\helpref{wxWindow::GetName}{wxwindowgetname}
|
||||
|
||||
\membersection{wxWindow::SetPalette}\label{wxwindowsetpalette}
|
||||
|
||||
\func{virtual void}{SetPalette}{\param{wxPalette* }{palette}}
|
||||
|
||||
Obsolete - use \helpref{wxDC::SetPalette}{wxdcsetpalette} instead.
|
||||
|
||||
\membersection{wxWindow::SetReturnCode}\label{wxwindowsetreturncode}
|
||||
|
||||
\func{void}{SetReturnCode}{\param{int }{retCode}}
|
||||
@@ -1913,81 +1988,6 @@ given bounds.
|
||||
|
||||
The resizing increments are only significant under Motif or Xt.
|
||||
|
||||
\membersection{wxWindow::SetClientSize}
|
||||
|
||||
\func{virtual void}{SetClientSize}{\param{int}{ width}, \param{int}{ height}}
|
||||
|
||||
\func{virtual void}{SetClientSize}{\param{const wxSize\&}{ size}}
|
||||
|
||||
This sets the size of the window client area in pixels. Using this function to size a window
|
||||
tends to be more device-independent than \helpref{wxWindow::SetSize}{wxwindowsetsize}, since the application need not
|
||||
worry about what dimensions the border or title bar have when trying to fit the window
|
||||
around panel items, for example.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{width}{The required client area width.}
|
||||
|
||||
\docparam{height}{The required client area height.}
|
||||
|
||||
\docparam{size}{The required client size.}
|
||||
|
||||
\membersection{wxWindow::SetPalette}
|
||||
|
||||
\func{virtual void}{SetPalette}{\param{wxPalette* }{palette}}
|
||||
|
||||
Obsolete - use \helpref{wxDC::SetPalette}{wxdcsetpalette} instead.
|
||||
|
||||
\membersection{wxWindow::SetCursor}\label{wxwindowsetcursor}
|
||||
|
||||
\func{virtual void}{SetCursor}{\param{const wxCursor\&}{cursor}}
|
||||
|
||||
Sets the window's cursor.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{cursor}{Specifies the cursor that the window should normally display.}
|
||||
|
||||
\wxheading{Remarks}
|
||||
|
||||
Under Windows, you sometimes need to call ::wxSetCursor in addition to this
|
||||
function if you want the cursor to change immediately, because under Windows,
|
||||
wxWindows only sets the global cursor when it detects mouse movement.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{::wxSetCursor}{wxsetcursor}, \helpref{wxCursor}{wxcursor}
|
||||
|
||||
\membersection{wxWindow::SetEventHandler}\label{wxwindowseteventhandler}
|
||||
|
||||
\func{void}{SetEventHandler}{\param{wxEvtHandler* }{handler}}
|
||||
|
||||
Sets the event handler for this window.
|
||||
|
||||
\wxheading{Parameters}
|
||||
|
||||
\docparam{handler}{Specifies the handler to be set.}
|
||||
|
||||
\wxheading{Remarks}
|
||||
|
||||
An event handler is an object that is capable of processing the events
|
||||
sent to a window. By default, the window is its own event handler, but
|
||||
an application may wish to substitute another, for example to allow
|
||||
central implementation of event-handling for a variety of different
|
||||
window classes.
|
||||
|
||||
It is usually better to use \helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler} since
|
||||
this sets up a chain of event handlers, where an event not handled by one event handler is
|
||||
handed to the next one in the chain.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxWindow::GetEventHandler}{wxwindowgeteventhandler},\rtfsp
|
||||
\helpref{wxWindow::PushEventHandler}{wxwindowpusheventhandler},\rtfsp
|
||||
\helpref{wxWindow::PopEventHandler}{wxwindowpusheventhandler},\rtfsp
|
||||
\helpref{wxEvtHandler::ProcessEvent}{wxevthandlerprocessevent},\rtfsp
|
||||
\helpref{wxEvtHandler}{wxevthandler}
|
||||
|
||||
\membersection{wxWindow::SetTitle}\label{wxwindowsettitle}
|
||||
|
||||
\func{virtual void}{SetTitle}{\param{const wxString\& }{title}}
|
||||
|
Reference in New Issue
Block a user