]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/misc2.i
typo fixed
[wxWidgets.git] / wxPython / src / misc2.i
index e68acb89f982891085e5dbff81dc95f0f8867585..35608d3bbacf6c4fd655e768313553b145986a37 100644 (file)
@@ -382,10 +382,28 @@ public:
 
 //----------------------------------------------------------------------
 
+bool wxSafeYield(wxWindow* win=NULL);
 void wxPostEvent(wxEvtHandler *dest, wxEvent& event);
 void wxWakeUpIdle();
 
-bool wxSafeYield(wxWindow* win=NULL);
+
+void wxWakeUpMainThread();
+void wxMutexGuiEnter();
+void wxMutexGuiLeave();
+
+
+class wxMutexGuiLocker  {
+public:
+    wxMutexGuiLocker();
+    ~wxMutexGuiLocker();
+};
+
+
+%inline %{
+    bool wxThread_IsMain() {
+        return wxThread::IsMain();
+    }
+%}
 
 //----------------------------------------------------------------------