#include <wx/fontenum.h>
#include <wx/tipdlg.h>
#include <wx/process.h>
+#ifdef __WXMSW__
#include <wx/joystick.h>
+#endif
%}
//----------------------------------------------------------------------
//----------------------------------------------------------------------
+bool wxSafeYield(wxWindow* win=NULL);
void wxPostEvent(wxEvtHandler *dest, wxEvent& event);
void wxWakeUpIdle();
-bool wxSafeYield(wxWindow* win=NULL);
+
+#ifdef __WXMSW__
+void wxWakeUpMainThread();
+#endif
+
+void wxMutexGuiEnter();
+void wxMutexGuiLeave();
+
+
+class wxMutexGuiLocker {
+public:
+ wxMutexGuiLocker();
+ ~wxMutexGuiLocker();
+};
+
+
+%inline %{
+ bool wxThread_IsMain() {
+ return wxThread::IsMain();
+ }
+%}
//----------------------------------------------------------------------