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:
Julian Smart
1998-06-15 07:57:40 +00:00
parent b5f2afe541
commit 38009d396d
7 changed files with 44 additions and 6 deletions

View 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.

View File

@@ -54,6 +54,7 @@ Update manual.
wxBaseArray, other arrays wxBaseArray, other arrays
(wxOwnerDrawn) (wxOwnerDrawn)
Document the include file for each class Document the include file for each class
Macros, e.g. wxASSERT
Write tutorial. Write tutorial.

View File

@@ -31,7 +31,7 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
~wxWinHelpController(void); ~wxWinHelpController(void);
// Must call this to set the filename and server name // 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 // If file is "", reloads file given in Initialize
virtual bool LoadFile(const wxString& file = ""); virtual bool LoadFile(const wxString& file = "");

View File

@@ -278,7 +278,7 @@ void wxThread::TestDestroy()
pthread_testcancel(); pthread_testcancel();
} }
bool wxThread::IsMain() const bool wxThread::IsMain()
{ {
return (bool)pthread_equal(pthread_self(), p_mainid); return (bool)pthread_equal(pthread_self(), p_mainid);
} }

View File

@@ -278,7 +278,7 @@ void wxThread::TestDestroy()
pthread_testcancel(); pthread_testcancel();
} }
bool wxThread::IsMain() const bool wxThread::IsMain()
{ {
return (bool)pthread_equal(pthread_self(), p_mainid); return (bool)pthread_equal(pthread_self(), p_mainid);
} }

View File

@@ -54,7 +54,7 @@ wxWinHelpController::~wxWinHelpController(void)
{ {
} }
bool wxWinHelpController::Initialize(const wxString& filename, int server) bool wxWinHelpController::Initialize(const wxString& filename)
{ {
m_helpFile = filename; m_helpFile = filename;
return TRUE; return TRUE;

View File

@@ -233,7 +233,7 @@ void wxThread::SetPriority(int prio)
p_internal->prio = prio; p_internal->prio = prio;
} }
int wxThread::GetPriority() int wxThread::GetPriority() const
{ {
return p_internal->prio; return p_internal->prio;
} }
@@ -275,7 +275,7 @@ unsigned long wxThread::GetID() const
return (unsigned long)p_internal->tid; return (unsigned long)p_internal->tid;
} }
bool wxThread::IsMain() const bool wxThread::IsMain()
{ {
return (GetCurrentThread() == p_mainid); return (GetCurrentThread() == p_mainid);
} }