OSDN Git Service

The text edit in MyListCtrl seems weird. Hopefully fixed.
[molby/Molby.git] / wxSources / MyThread.h
1 /*
2  *  MyThread.h
3  *  Molby
4  *
5  *  Created by Toshi Nagata on 09/10/21.
6  *  Copyright 2009 Toshi Nagata. All rights reserved.
7  *
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation version 2 of the License.
11  
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  GNU General Public License for more details.
16  */
17
18 #ifndef __MyThread_h__
19 #define __MyThread_h__
20
21 #include "wx/thread.h"
22
23 class MyThread: public wxThread
24 {
25 public:
26         static wxThreadError DetachNewThread(int (*entry_func)(void *, int), int (*exit_func)(void *, int), void *argptr, int argnum);
27         virtual ExitCode Entry();
28
29         int (*m_entry_func)(void *, int);
30         int (*m_exit_func)(void *, int);
31         void *m_argptr;
32         int m_argnum;
33 };
34
35 #endif /* __MyThread_h__ */