]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_core_wrap.cpp
added more properties
[wxWidgets.git] / wxPython / src / mac / _core_wrap.cpp
index 1cae14ad0183c4ac69846c563b13050da3b165d1..1930db7d8217b9cbec2c90fa89a032c6bb5b1109 100644 (file)
@@ -2533,71 +2533,70 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
 #define SWIGTYPE_p_wxJPEGHandler swig_types[67]
 #define SWIGTYPE_p_wxKeyEvent swig_types[68]
 #define SWIGTYPE_p_wxLayoutConstraints swig_types[69]
-#define SWIGTYPE_p_wxLayoutDirection swig_types[70]
-#define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
-#define SWIGTYPE_p_wxMemoryFSHandler swig_types[72]
-#define SWIGTYPE_p_wxMenu swig_types[73]
-#define SWIGTYPE_p_wxMenuBar swig_types[74]
-#define SWIGTYPE_p_wxMenuBarBase swig_types[75]
-#define SWIGTYPE_p_wxMenuEvent swig_types[76]
-#define SWIGTYPE_p_wxMenuItem swig_types[77]
-#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
-#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
-#define SWIGTYPE_p_wxMouseEvent swig_types[80]
-#define SWIGTYPE_p_wxMoveEvent swig_types[81]
-#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
-#define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
-#define SWIGTYPE_p_wxNotifyEvent swig_types[84]
-#define SWIGTYPE_p_wxObject swig_types[85]
-#define SWIGTYPE_p_wxOutputStream swig_types[86]
-#define SWIGTYPE_p_wxPCXHandler swig_types[87]
-#define SWIGTYPE_p_wxPNGHandler swig_types[88]
-#define SWIGTYPE_p_wxPNMHandler swig_types[89]
-#define SWIGTYPE_p_wxPaintEvent swig_types[90]
-#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
-#define SWIGTYPE_p_wxPaperSize swig_types[92]
-#define SWIGTYPE_p_wxPoint swig_types[93]
-#define SWIGTYPE_p_wxPoint2D swig_types[94]
-#define SWIGTYPE_p_wxPropagateOnce swig_types[95]
-#define SWIGTYPE_p_wxPropagationDisabler swig_types[96]
-#define SWIGTYPE_p_wxPyApp swig_types[97]
-#define SWIGTYPE_p_wxPyCommandEvent swig_types[98]
-#define SWIGTYPE_p_wxPyDropTarget swig_types[99]
-#define SWIGTYPE_p_wxPyEvent swig_types[100]
-#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[101]
-#define SWIGTYPE_p_wxPyImageHandler swig_types[102]
-#define SWIGTYPE_p_wxPyInputStream swig_types[103]
-#define SWIGTYPE_p_wxPySizer swig_types[104]
-#define SWIGTYPE_p_wxPyValidator swig_types[105]
-#define SWIGTYPE_p_wxQuantize swig_types[106]
-#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[107]
-#define SWIGTYPE_p_wxRealPoint swig_types[108]
-#define SWIGTYPE_p_wxRect swig_types[109]
-#define SWIGTYPE_p_wxRegion swig_types[110]
-#define SWIGTYPE_p_wxScrollEvent swig_types[111]
-#define SWIGTYPE_p_wxScrollWinEvent swig_types[112]
-#define SWIGTYPE_p_wxSetCursorEvent swig_types[113]
-#define SWIGTYPE_p_wxShowEvent swig_types[114]
-#define SWIGTYPE_p_wxSize swig_types[115]
-#define SWIGTYPE_p_wxSizeEvent swig_types[116]
-#define SWIGTYPE_p_wxSizer swig_types[117]
-#define SWIGTYPE_p_wxSizerItem swig_types[118]
-#define SWIGTYPE_p_wxStaticBox swig_types[119]
-#define SWIGTYPE_p_wxStaticBoxSizer swig_types[120]
-#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[121]
-#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[122]
-#define SWIGTYPE_p_wxTIFFHandler swig_types[123]
-#define SWIGTYPE_p_wxToolTip swig_types[124]
-#define SWIGTYPE_p_wxUpdateUIEvent swig_types[125]
-#define SWIGTYPE_p_wxValidator swig_types[126]
-#define SWIGTYPE_p_wxVisualAttributes swig_types[127]
-#define SWIGTYPE_p_wxWindow swig_types[128]
-#define SWIGTYPE_p_wxWindowCreateEvent swig_types[129]
-#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[130]
-#define SWIGTYPE_p_wxXPMHandler swig_types[131]
-#define SWIGTYPE_p_wxZipFSHandler swig_types[132]
-static swig_type_info *swig_types[134];
-static swig_module_info swig_module = {swig_types, 133, 0, 0, 0, 0};
+#define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
+#define SWIGTYPE_p_wxMemoryFSHandler swig_types[71]
+#define SWIGTYPE_p_wxMenu swig_types[72]
+#define SWIGTYPE_p_wxMenuBar swig_types[73]
+#define SWIGTYPE_p_wxMenuBarBase swig_types[74]
+#define SWIGTYPE_p_wxMenuEvent swig_types[75]
+#define SWIGTYPE_p_wxMenuItem swig_types[76]
+#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
+#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[78]
+#define SWIGTYPE_p_wxMouseEvent swig_types[79]
+#define SWIGTYPE_p_wxMoveEvent swig_types[80]
+#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
+#define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
+#define SWIGTYPE_p_wxNotifyEvent swig_types[83]
+#define SWIGTYPE_p_wxObject swig_types[84]
+#define SWIGTYPE_p_wxOutputStream swig_types[85]
+#define SWIGTYPE_p_wxPCXHandler swig_types[86]
+#define SWIGTYPE_p_wxPNGHandler swig_types[87]
+#define SWIGTYPE_p_wxPNMHandler swig_types[88]
+#define SWIGTYPE_p_wxPaintEvent swig_types[89]
+#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
+#define SWIGTYPE_p_wxPaperSize swig_types[91]
+#define SWIGTYPE_p_wxPoint swig_types[92]
+#define SWIGTYPE_p_wxPoint2D swig_types[93]
+#define SWIGTYPE_p_wxPropagateOnce swig_types[94]
+#define SWIGTYPE_p_wxPropagationDisabler swig_types[95]
+#define SWIGTYPE_p_wxPyApp swig_types[96]
+#define SWIGTYPE_p_wxPyCommandEvent swig_types[97]
+#define SWIGTYPE_p_wxPyDropTarget swig_types[98]
+#define SWIGTYPE_p_wxPyEvent swig_types[99]
+#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[100]
+#define SWIGTYPE_p_wxPyImageHandler swig_types[101]
+#define SWIGTYPE_p_wxPyInputStream swig_types[102]
+#define SWIGTYPE_p_wxPySizer swig_types[103]
+#define SWIGTYPE_p_wxPyValidator swig_types[104]
+#define SWIGTYPE_p_wxQuantize swig_types[105]
+#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[106]
+#define SWIGTYPE_p_wxRealPoint swig_types[107]
+#define SWIGTYPE_p_wxRect swig_types[108]
+#define SWIGTYPE_p_wxRegion swig_types[109]
+#define SWIGTYPE_p_wxScrollEvent swig_types[110]
+#define SWIGTYPE_p_wxScrollWinEvent swig_types[111]
+#define SWIGTYPE_p_wxSetCursorEvent swig_types[112]
+#define SWIGTYPE_p_wxShowEvent swig_types[113]
+#define SWIGTYPE_p_wxSize swig_types[114]
+#define SWIGTYPE_p_wxSizeEvent swig_types[115]
+#define SWIGTYPE_p_wxSizer swig_types[116]
+#define SWIGTYPE_p_wxSizerItem swig_types[117]
+#define SWIGTYPE_p_wxStaticBox swig_types[118]
+#define SWIGTYPE_p_wxStaticBoxSizer swig_types[119]
+#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[120]
+#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[121]
+#define SWIGTYPE_p_wxTIFFHandler swig_types[122]
+#define SWIGTYPE_p_wxToolTip swig_types[123]
+#define SWIGTYPE_p_wxUpdateUIEvent swig_types[124]
+#define SWIGTYPE_p_wxValidator swig_types[125]
+#define SWIGTYPE_p_wxVisualAttributes swig_types[126]
+#define SWIGTYPE_p_wxWindow swig_types[127]
+#define SWIGTYPE_p_wxWindowCreateEvent swig_types[128]
+#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[129]
+#define SWIGTYPE_p_wxXPMHandler swig_types[130]
+#define SWIGTYPE_p_wxZipFSHandler swig_types[131]
+static swig_type_info *swig_types[133];
+static swig_module_info swig_module = {swig_types, 132, 0, 0, 0, 0};
 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
 
@@ -3788,7 +3787,7 @@ SWIGINTERN wxPyApp *new_wxPyApp(){
             return wxPythonApp;
         }
 SWIGINTERN int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
-SWIGINTERN bool wxPyApp_DisplayAvailable(){
+SWIGINTERN bool wxPyApp_IsDisplayAvailable(){
             return wxPyTestDisplayAvailable();
         }
 
@@ -7491,7 +7490,7 @@ fail:
 }
 
 
-SWIGINTERN PyObject *_wrap_Rect_InsideXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+SWIGINTERN PyObject *_wrap_Rect_ContainsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
   PyObject *resultobj = 0;
   wxRect *arg1 = (wxRect *) 0 ;
   int arg2 ;
@@ -7510,25 +7509,25 @@ SWIGINTERN PyObject *_wrap_Rect_InsideXY(PyObject *SWIGUNUSEDPARM(self), PyObjec
     (char *) "self",(char *) "x",(char *) "y", NULL 
   };
   
-  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
+  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_ContainsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRect, 0 |  0 );
   if (!SWIG_IsOK(res1)) {
-    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'"); 
+    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_ContainsXY" "', expected argument " "1"" of type '" "wxRect const *""'"); 
   }
   arg1 = reinterpret_cast< wxRect * >(argp1);
   ecode2 = SWIG_AsVal_int(obj1, &val2);
   if (!SWIG_IsOK(ecode2)) {
-    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
+    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Rect_ContainsXY" "', expected argument " "2"" of type '" "int""'");
   } 
   arg2 = static_cast< int >(val2);
   ecode3 = SWIG_AsVal_int(obj2, &val3);
   if (!SWIG_IsOK(ecode3)) {
-    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
+    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Rect_ContainsXY" "', expected argument " "3"" of type '" "int""'");
   } 
   arg3 = static_cast< int >(val3);
   {
     PyThreadState* __tstate = wxPyBeginAllowThreads();
-    result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
+    result = (bool)((wxRect const *)arg1)->Contains(arg2,arg3);
     wxPyEndAllowThreads(__tstate);
     if (PyErr_Occurred()) SWIG_fail;
   }
@@ -7541,7 +7540,7 @@ fail:
 }
 
 
-SWIGINTERN PyObject *_wrap_Rect_Inside(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+SWIGINTERN PyObject *_wrap_Rect_Contains(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
   PyObject *resultobj = 0;
   wxRect *arg1 = (wxRect *) 0 ;
   wxPoint *arg2 = 0 ;
@@ -7555,10 +7554,10 @@ SWIGINTERN PyObject *_wrap_Rect_Inside(PyObject *SWIGUNUSEDPARM(self), PyObject
     (char *) "self",(char *) "pt", NULL 
   };
   
-  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) SWIG_fail;
+  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Contains",kwnames,&obj0,&obj1)) SWIG_fail;
   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRect, 0 |  0 );
   if (!SWIG_IsOK(res1)) {
-    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'"); 
+    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_Contains" "', expected argument " "1"" of type '" "wxRect const *""'"); 
   }
   arg1 = reinterpret_cast< wxRect * >(argp1);
   {
@@ -7567,7 +7566,7 @@ SWIGINTERN PyObject *_wrap_Rect_Inside(PyObject *SWIGUNUSEDPARM(self), PyObject
   }
   {
     PyThreadState* __tstate = wxPyBeginAllowThreads();
-    result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
+    result = (bool)((wxRect const *)arg1)->Contains((wxPoint const &)*arg2);
     wxPyEndAllowThreads(__tstate);
     if (PyErr_Occurred()) SWIG_fail;
   }
@@ -7580,7 +7579,7 @@ fail:
 }
 
 
-SWIGINTERN PyObject *_wrap_Rect_InsideRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
+SWIGINTERN PyObject *_wrap_Rect_ContainsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
   PyObject *resultobj = 0;
   wxRect *arg1 = (wxRect *) 0 ;
   wxRect *arg2 = 0 ;
@@ -7594,10 +7593,10 @@ SWIGINTERN PyObject *_wrap_Rect_InsideRect(PyObject *SWIGUNUSEDPARM(self), PyObj
     (char *) "self",(char *) "rect", NULL 
   };
   
-  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_InsideRect",kwnames,&obj0,&obj1)) SWIG_fail;
+  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_ContainsRect",kwnames,&obj0,&obj1)) SWIG_fail;
   res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRect, 0 |  0 );
   if (!SWIG_IsOK(res1)) {
-    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_InsideRect" "', expected argument " "1"" of type '" "wxRect const *""'"); 
+    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Rect_ContainsRect" "', expected argument " "1"" of type '" "wxRect const *""'"); 
   }
   arg1 = reinterpret_cast< wxRect * >(argp1);
   {
@@ -7606,7 +7605,7 @@ SWIGINTERN PyObject *_wrap_Rect_InsideRect(PyObject *SWIGUNUSEDPARM(self), PyObj
   }
   {
     PyThreadState* __tstate = wxPyBeginAllowThreads();
-    result = (bool)((wxRect const *)arg1)->Inside((wxRect const &)*arg2);
+    result = (bool)((wxRect const *)arg1)->Contains((wxRect const &)*arg2);
     wxPyEndAllowThreads(__tstate);
     if (PyErr_Occurred()) SWIG_fail;
   }
@@ -27786,11 +27785,11 @@ SWIGINTERN PyObject *_wrap_PyApp_GetLayoutDirection(PyObject *SWIGUNUSEDPARM(sel
   arg1 = reinterpret_cast< wxPyApp * >(argp1);
   {
     PyThreadState* __tstate = wxPyBeginAllowThreads();
-    result = ((wxPyApp const *)arg1)->GetLayoutDirection();
+    result = (wxLayoutDirection)((wxPyApp const *)arg1)->GetLayoutDirection();
     wxPyEndAllowThreads(__tstate);
     if (PyErr_Occurred()) SWIG_fail;
   }
-  resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN |  0 );
+  resultobj = SWIG_From_int(static_cast< int >(result));
   return resultobj;
 fail:
   return NULL;
@@ -28628,14 +28627,14 @@ fail:
 }
 
 
-SWIGINTERN PyObject *_wrap_PyApp_DisplayAvailable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+SWIGINTERN PyObject *_wrap_PyApp_IsDisplayAvailable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
   PyObject *resultobj = 0;
   bool result;
   
-  if (!SWIG_Python_UnpackTuple(args,"PyApp_DisplayAvailable",0,0,0)) SWIG_fail;
+  if (!SWIG_Python_UnpackTuple(args,"PyApp_IsDisplayAvailable",0,0,0)) SWIG_fail;
   {
     PyThreadState* __tstate = wxPyBeginAllowThreads();
-    result = (bool)wxPyApp_DisplayAvailable();
+    result = (bool)wxPyApp_IsDisplayAvailable();
     wxPyEndAllowThreads(__tstate);
     if (PyErr_Occurred()) SWIG_fail;
   }
@@ -30735,11 +30734,11 @@ SWIGINTERN PyObject *_wrap_Window_GetLayoutDirection(PyObject *SWIGUNUSEDPARM(se
   arg1 = reinterpret_cast< wxWindow * >(argp1);
   {
     PyThreadState* __tstate = wxPyBeginAllowThreads();
-    result = ((wxWindow const *)arg1)->GetLayoutDirection();
+    result = (wxLayoutDirection)((wxWindow const *)arg1)->GetLayoutDirection();
     wxPyEndAllowThreads(__tstate);
     if (PyErr_Occurred()) SWIG_fail;
   }
-  resultobj = SWIG_NewPointerObj((new wxLayoutDirection(static_cast< const wxLayoutDirection& >(result))), SWIGTYPE_p_wxLayoutDirection, SWIG_POINTER_OWN |  0 );
+  resultobj = SWIG_From_int(static_cast< int >(result));
   return resultobj;
 fail:
   return NULL;
@@ -30752,8 +30751,8 @@ SWIGINTERN PyObject *_wrap_Window_SetLayoutDirection(PyObject *SWIGUNUSEDPARM(se
   wxLayoutDirection arg2 ;
   void *argp1 = 0 ;
   int res1 = 0 ;
-  void *argp2 ;
-  int res2 = 0 ;
+  int val2 ;
+  int ecode2 = 0 ;
   PyObject * obj0 = 0 ;
   PyObject * obj1 = 0 ;
   char *  kwnames[] = {
@@ -30766,19 +30765,11 @@ SWIGINTERN PyObject *_wrap_Window_SetLayoutDirection(PyObject *SWIGUNUSEDPARM(se
     SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_SetLayoutDirection" "', expected argument " "1"" of type '" "wxWindow *""'"); 
   }
   arg1 = reinterpret_cast< wxWindow * >(argp1);
-  {
-    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxLayoutDirection,  0  | 0);
-    if (!SWIG_IsOK(res2)) {
-      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'"); 
-    }  
-    if (!argp2) {
-      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
-    } else {
-      wxLayoutDirection * temp = reinterpret_cast< wxLayoutDirection * >(argp2);
-      arg2 = *temp;
-      if (SWIG_IsNewObj(res2)) delete temp;
-    }
-  }
+  ecode2 = SWIG_AsVal_int(obj1, &val2);
+  if (!SWIG_IsOK(ecode2)) {
+    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Window_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
+  } 
+  arg2 = static_cast< wxLayoutDirection >(val2);
   {
     PyThreadState* __tstate = wxPyBeginAllowThreads();
     (arg1)->SetLayoutDirection(arg2);
@@ -33006,6 +32997,36 @@ fail:
 }
 
 
+SWIGINTERN PyObject *_wrap_Window_IsShownOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+  PyObject *resultobj = 0;
+  wxWindow *arg1 = (wxWindow *) 0 ;
+  bool result;
+  void *argp1 = 0 ;
+  int res1 = 0 ;
+  PyObject *swig_obj[1] ;
+  
+  if (!args) SWIG_fail;
+  swig_obj[0] = args;
+  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
+  if (!SWIG_IsOK(res1)) {
+    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_IsShownOnScreen" "', expected argument " "1"" of type '" "wxWindow const *""'"); 
+  }
+  arg1 = reinterpret_cast< wxWindow * >(argp1);
+  {
+    PyThreadState* __tstate = wxPyBeginAllowThreads();
+    result = (bool)((wxWindow const *)arg1)->IsShownOnScreen();
+    wxPyEndAllowThreads(__tstate);
+    if (PyErr_Occurred()) SWIG_fail;
+  }
+  {
+    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+  }
+  return resultobj;
+fail:
+  return NULL;
+}
+
+
 SWIGINTERN PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
   PyObject *resultobj = 0;
   wxWindow *arg1 = (wxWindow *) 0 ;
@@ -35033,6 +35054,36 @@ fail:
 }
 
 
+SWIGINTERN PyObject *_wrap_Window_IsFrozen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+  PyObject *resultobj = 0;
+  wxWindow *arg1 = (wxWindow *) 0 ;
+  bool result;
+  void *argp1 = 0 ;
+  int res1 = 0 ;
+  PyObject *swig_obj[1] ;
+  
+  if (!args) SWIG_fail;
+  swig_obj[0] = args;
+  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
+  if (!SWIG_IsOK(res1)) {
+    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Window_IsFrozen" "', expected argument " "1"" of type '" "wxWindow const *""'"); 
+  }
+  arg1 = reinterpret_cast< wxWindow * >(argp1);
+  {
+    PyThreadState* __tstate = wxPyBeginAllowThreads();
+    result = (bool)((wxWindow const *)arg1)->IsFrozen();
+    wxPyEndAllowThreads(__tstate);
+    if (PyErr_Occurred()) SWIG_fail;
+  }
+  {
+    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
+  }
+  return resultobj;
+fail:
+  return NULL;
+}
+
+
 SWIGINTERN PyObject *_wrap_Window_Thaw(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
   PyObject *resultobj = 0;
   wxWindow *arg1 = (wxWindow *) 0 ;
@@ -53767,9 +53818,9 @@ static PyMethodDef SwigMethods[] = {
         { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
-        { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL},
-        { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL},
-        { (char *)"Rect_InsideRect", (PyCFunction) _wrap_Rect_InsideRect, METH_VARARGS | METH_KEYWORDS, NULL},
+        { (char *)"Rect_ContainsXY", (PyCFunction) _wrap_Rect_ContainsXY, METH_VARARGS | METH_KEYWORDS, NULL},
+        { (char *)"Rect_Contains", (PyCFunction) _wrap_Rect_Contains, METH_VARARGS | METH_KEYWORDS, NULL},
+        { (char *)"Rect_ContainsRect", (PyCFunction) _wrap_Rect_ContainsRect, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"Rect_CenterIn", (PyCFunction) _wrap_Rect_CenterIn, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"Rect_x_set", _wrap_Rect_x_set, METH_VARARGS, NULL},
@@ -54465,7 +54516,7 @@ static PyMethodDef SwigMethods[] = {
         { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"PyApp__BootstrapApp", (PyCFunction)_wrap_PyApp__BootstrapApp, METH_O, NULL},
         { (char *)"PyApp_GetComCtl32Version", (PyCFunction)_wrap_PyApp_GetComCtl32Version, METH_NOARGS, NULL},
-        { (char *)"PyApp_DisplayAvailable", (PyCFunction)_wrap_PyApp_DisplayAvailable, METH_NOARGS, NULL},
+        { (char *)"PyApp_IsDisplayAvailable", (PyCFunction)_wrap_PyApp_IsDisplayAvailable, METH_NOARGS, NULL},
         { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL},
         { (char *)"PyApp_swiginit", PyApp_swiginit, METH_VARARGS, NULL},
         { (char *)"Exit", (PyCFunction)_wrap_Exit, METH_NOARGS, NULL},
@@ -54599,6 +54650,7 @@ static PyMethodDef SwigMethods[] = {
         { (char *)"Window_Disable", (PyCFunction)_wrap_Window_Disable, METH_O, NULL},
         { (char *)"Window_IsShown", (PyCFunction)_wrap_Window_IsShown, METH_O, NULL},
         { (char *)"Window_IsEnabled", (PyCFunction)_wrap_Window_IsEnabled, METH_O, NULL},
+        { (char *)"Window_IsShownOnScreen", (PyCFunction)_wrap_Window_IsShownOnScreen, METH_O, NULL},
         { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"Window_GetWindowStyleFlag", (PyCFunction)_wrap_Window_GetWindowStyleFlag, METH_O, NULL},
         { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
@@ -54657,6 +54709,7 @@ static PyMethodDef SwigMethods[] = {
         { (char *)"Window_Update", (PyCFunction)_wrap_Window_Update, METH_O, NULL},
         { (char *)"Window_ClearBackground", (PyCFunction)_wrap_Window_ClearBackground, METH_O, NULL},
         { (char *)"Window_Freeze", (PyCFunction)_wrap_Window_Freeze, METH_O, NULL},
+        { (char *)"Window_IsFrozen", (PyCFunction)_wrap_Window_IsFrozen, METH_O, NULL},
         { (char *)"Window_Thaw", (PyCFunction)_wrap_Window_Thaw, METH_O, NULL},
         { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
         { (char *)"Window_GetUpdateRegion", (PyCFunction)_wrap_Window_GetUpdateRegion, METH_O, NULL},
@@ -55750,7 +55803,6 @@ static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItem
 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
-static swig_type_info _swigt__p_wxLayoutDirection = {"_p_wxLayoutDirection", "wxLayoutDirection *", 0, 0, (void*)0, 0};
 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
 static swig_type_info _swigt__p_wxMemoryFSHandler = {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
@@ -55885,7 +55937,6 @@ static swig_type_info *swig_type_initial[] = {
   &_swigt__p_wxJPEGHandler,
   &_swigt__p_wxKeyEvent,
   &_swigt__p_wxLayoutConstraints,
-  &_swigt__p_wxLayoutDirection,
   &_swigt__p_wxMaximizeEvent,
   &_swigt__p_wxMemoryFSHandler,
   &_swigt__p_wxMenu,
@@ -56020,7 +56071,6 @@ static swig_cast_info _swigc__p_wxItemContainer[] = {  {&_swigt__p_wxControlWith
 static swig_cast_info _swigc__p_wxJPEGHandler[] = {  {&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
 static swig_cast_info _swigc__p_wxKeyEvent[] = {  {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {  {&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
-static swig_cast_info _swigc__p_wxLayoutDirection[] = {  {&_swigt__p_wxLayoutDirection, 0, 0, 0},{0, 0, 0, 0}};
 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {  {&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
 static swig_cast_info _swigc__p_wxMemoryFSHandler[] = {  {&_swigt__p_wxMemoryFSHandler, 0, 0, 0},{0, 0, 0, 0}};
 static swig_cast_info _swigc__p_wxMenu[] = {  {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
@@ -56155,7 +56205,6 @@ static swig_cast_info *swig_cast_initial[] = {
   _swigc__p_wxJPEGHandler,
   _swigc__p_wxKeyEvent,
   _swigc__p_wxLayoutConstraints,
-  _swigc__p_wxLayoutDirection,
   _swigc__p_wxMaximizeEvent,
   _swigc__p_wxMemoryFSHandler,
   _swigc__p_wxMenu,
@@ -57328,6 +57377,9 @@ SWIGEXPORT void SWIG_init(void) {
   SWIG_Python_SetConstant(d, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE)));
   SWIG_Python_SetConstant(d, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE)));
   SWIG_Python_SetConstant(d, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE)));
+  SWIG_Python_SetConstant(d, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default)));
+  SWIG_Python_SetConstant(d, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight)));
+  SWIG_Python_SetConstant(d, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft)));
   PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
   SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get, EmptyString_set);
   SWIG_Python_SetConstant(d, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID)));