]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_display.i
Added autoconf makefiles for FoldBar extended samples
[wxWidgets.git] / wxPython / src / _display.i
index 938c85ada3fbad0e6a6e6eb5f134a9fa25fd0931..60b2c49c60faedcaf7a9ae6f272162d4fbbbbbd0 100644 (file)
@@ -206,7 +206,7 @@ function is not supported at all on this platform.", "");
         PyObject* GetModes(const wxVideoMode& mode = wxDefaultVideoMode) {
             PyObject* pyList = NULL;
             wxArrayVideoModes arr = self->GetModes(mode);
-            bool blocked = wxPyBeginBlockThreads();
+            wxPyBlock_t blocked = wxPyBeginBlockThreads();
             pyList = PyList_New(0);
             for (int i=0; i < arr.GetCount(); i++) {
                 wxVideoMode* m = new wxVideoMode(arr.Item(i));