Compilation fixes

Found out how to do wxUSE_XX 0 and 1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-01-06 21:09:17 +00:00
parent 471aebdd3e
commit 06cfab1738
38 changed files with 201 additions and 94 deletions

View File

@@ -322,7 +322,7 @@ void wxThread::Exit(void *status)
pthread_exit(status);
}
void wxThread::TestDestroy()
bool wxThread::TestDestroy()
{
if (p_internal->state == STATE_PAUSING)
{
@@ -334,6 +334,8 @@ void wxThread::TestDestroy()
}
}
pthread_testcancel();
return TRUE; /* what is this for? */
}
bool wxThread::IsMain()
@@ -375,6 +377,16 @@ void wxThread::OnExit()
// wxThreadModule
//--------------------------------------------------------------------
class wxThreadModule : public wxModule
{
public:
virtual bool OnInit();
virtual void OnExit();
private:
DECLARE_DYNAMIC_CLASS(wxThreadModule)
};
IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule)
bool wxThreadModule::OnInit()