Corrected some problems I introduced, added tabevent.tex.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
37
docs/latex/wx/tabevent.tex
Normal file
37
docs/latex/wx/tabevent.tex
Normal file
@@ -0,0 +1,37 @@
|
||||
\section{\class{wxTabEvent}}\label{wxtabevent}
|
||||
|
||||
This class represents the events generated by a tab control.
|
||||
|
||||
\wxheading{Derived from}
|
||||
|
||||
\helpref{wxCommandEvent}{wxcommandevent}\\
|
||||
\helpref{wxEvent}{wxevent}\\
|
||||
\helpref{wxEvtHandler}{wxevthandler}\\
|
||||
\helpref{wxObject}{wxobject}
|
||||
|
||||
\wxheading{Event table macros}
|
||||
|
||||
To process a tab event, use these event handler macros to direct input to member
|
||||
functions that take a wxTabEvent argument.
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf EVT\_TAB\_SEL\_CHANGED(id, func)}}{Process a wxEVT\_TAB\_SEL\_CHANGED event, indicating that
|
||||
the tab selection has changed.}
|
||||
\twocolitem{{\bf EVT\_TAB\_SEL\_CHANGING(id, func)}}{Process a wxEVT\_TAB\_SEL\_CHANGING event, indicating that
|
||||
the tab selection is changing.}
|
||||
\end{twocollist}%
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxTabCtrl}{wxtabctrl}
|
||||
|
||||
\latexignore{\rtfignore{\wxheading{Members}}}
|
||||
|
||||
\membersection{wxTabEvent::wxTabEvent}\label{wxtabeventconstr}
|
||||
|
||||
\func{}{wxTabEvent}{\param{WXTYPE}{ commandType = 0}, \param{int}{ id = 0}}
|
||||
|
||||
Constructor.
|
||||
|
||||
|
@@ -54,6 +54,7 @@ Update manual.
|
||||
wxBaseArray, other arrays
|
||||
(wxOwnerDrawn)
|
||||
Document the include file for each class
|
||||
Macros, e.g. wxASSERT
|
||||
|
||||
Write tutorial.
|
||||
|
||||
|
@@ -31,7 +31,7 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
|
||||
~wxWinHelpController(void);
|
||||
|
||||
// Must call this to set the filename and server name
|
||||
virtual bool Initialize(const wxString& file, int server = -1);
|
||||
virtual bool Initialize(const wxString& file);
|
||||
|
||||
// If file is "", reloads file given in Initialize
|
||||
virtual bool LoadFile(const wxString& file = "");
|
||||
|
@@ -278,7 +278,7 @@ void wxThread::TestDestroy()
|
||||
pthread_testcancel();
|
||||
}
|
||||
|
||||
bool wxThread::IsMain() const
|
||||
bool wxThread::IsMain()
|
||||
{
|
||||
return (bool)pthread_equal(pthread_self(), p_mainid);
|
||||
}
|
||||
|
@@ -278,7 +278,7 @@ void wxThread::TestDestroy()
|
||||
pthread_testcancel();
|
||||
}
|
||||
|
||||
bool wxThread::IsMain() const
|
||||
bool wxThread::IsMain()
|
||||
{
|
||||
return (bool)pthread_equal(pthread_self(), p_mainid);
|
||||
}
|
||||
|
@@ -54,7 +54,7 @@ wxWinHelpController::~wxWinHelpController(void)
|
||||
{
|
||||
}
|
||||
|
||||
bool wxWinHelpController::Initialize(const wxString& filename, int server)
|
||||
bool wxWinHelpController::Initialize(const wxString& filename)
|
||||
{
|
||||
m_helpFile = filename;
|
||||
return TRUE;
|
||||
|
@@ -233,7 +233,7 @@ void wxThread::SetPriority(int prio)
|
||||
p_internal->prio = prio;
|
||||
}
|
||||
|
||||
int wxThread::GetPriority()
|
||||
int wxThread::GetPriority() const
|
||||
{
|
||||
return p_internal->prio;
|
||||
}
|
||||
@@ -275,7 +275,7 @@ unsigned long wxThread::GetID() const
|
||||
return (unsigned long)p_internal->tid;
|
||||
}
|
||||
|
||||
bool wxThread::IsMain() const
|
||||
bool wxThread::IsMain()
|
||||
{
|
||||
return (GetCurrentThread() == p_mainid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user