]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/threadsgi.cpp
fix for GetParent() in wxTR_HIDE_ROOT case
[wxWidgets.git] / src / gtk1 / threadsgi.cpp
index f9befcb74efba58e276dbb104af1ba9e46dcefc3..217f67d7d96d2f7abe40076e1ea24ae509b9fc6d 100644 (file)
@@ -239,6 +239,16 @@ void wxThread::OnExit()
 
 // Global initialization
 
+class wxThreadModule : public wxModule
+{
+public:
+    virtual bool OnInit();
+    virtual void OnExit();
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxThreadModule)
+};
+
 IMPLEMENT_DYNAMIC_CLASS(wxThreadModule, wxModule)
 
 bool wxThreadModule::OnInit()