}
-// Automatic initialization
-class wxThreadModule : public wxModule {
- DECLARE_DYNAMIC_CLASS(wxThreadModule)
-public:
- bool OnInit();
- void OnExit();
-};
+IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule)
-bool wxThreadModule::OnInit() {
+bool wxThreadModule::OnInit()
+{
wxMainMutex = new wxMutex();
wxMainMutex->Lock();
return TRUE;
delete wxMainMutex;
}
-IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule)
+
void wxMutexGuiEnter()
{