X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92661f979400ea71a57b4509a4f1be223e4bcdef..f7204798e2b7db9e5ebd94c327ed0fef72b18862:/docs/latex/wx/toolbar.tex diff --git a/docs/latex/wx/toolbar.tex b/docs/latex/wx/toolbar.tex index 9555daa36e..974007cf09 100644 --- a/docs/latex/wx/toolbar.tex +++ b/docs/latex/wx/toolbar.tex @@ -58,7 +58,7 @@ use: wxSystemOptions::SetOption(wxT("msw.remap"), 2); \end{verbatim} -then colour remapping is switched of, and a transparent background used. But only +then colour remapping is switched off, and a transparent background used. But only use this option under Windows XP with true colour: \begin{verbatim} @@ -88,7 +88,7 @@ native toolbar ignores {\tt wxTB\_NOICONS} style. Also, toggling the \wxheading{Event handling} -The toolbar class emits menu commands in the same was that a frame menubar does, +The toolbar class emits menu commands in the same way that a frame menubar does, so you can use one EVT\_MENU macro for both a menu item and a toolbar button. The event handler functions take a wxCommandEvent argument. For most event macros, the identifier of the tool is passed, but for EVT\_TOOL\_ENTER the toolbar @@ -160,7 +160,7 @@ tools. You may also create a toolbar that is managed by the frame, by calling \helpref{wxFrame::CreateToolBar}{wxframecreatetoolbar}. -\membersection{wxToolBar::\destruct{wxToolBar}} +\membersection{wxToolBar::\destruct{wxToolBar}}\label{wxtoolbardtor} \func{void}{\destruct{wxToolBar}}{\void} @@ -473,7 +473,7 @@ Returns the value used for packing tools. \constfunc{int}{GetToolPos}{\param{int }{toolId}} -Returns the tool position in the toolbar, or wxNOT\_FOUND if the tool is not found. +Returns the tool position in the toolbar, or {\tt wxNOT\_FOUND} if the tool is not found. \membersection{wxToolBar::GetToolSeparation}\label{wxtoolbargettoolseparation}