]> git.saurik.com Git - wxWidgets.git/commitdiff
cleanup whitespace
authorRobin Dunn <robin@alldunn.com>
Tue, 29 Jun 2004 19:33:34 +0000 (19:33 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 29 Jun 2004 19:33:34 +0000 (19:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_defs.i

index 77d040b614ee8e717d4f4acb88d8a1740dddd7f2..83d95ba39f2e0041dba02ea057a8c6a8b33ae406 100644 (file)
 // This one can be used to add a check for an existing wxApp before the real
 // work is done.  An exception is raised if there isn't one.
 %define MustHaveApp(name)
-    %exception name {
-        if (!wxPyCheckForApp()) SWIG_fail;
-        PyThreadState* __tstate = wxPyBeginAllowThreads();
-        $action
-        wxPyEndAllowThreads(__tstate);
-        if (PyErr_Occurred()) SWIG_fail;    
-    }
+%exception name {
+    if (!wxPyCheckForApp()) SWIG_fail;
+    PyThreadState* __tstate = wxPyBeginAllowThreads();
+    $action
+    wxPyEndAllowThreads(__tstate);
+    if (PyErr_Occurred()) SWIG_fail;
+}
 %enddef