]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/_misc_wrap.cpp
Use the wx.ART_NORMAL_FILE icon
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
index 9e4cd86ee07c27afff7873c1250a90e7f3f8ef96..067c8b69633d7596855e28bf736fbef71bd0746f 100644 (file)
@@ -2382,6 +2382,7 @@ static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
  static const wxString wxPyART_CUT(wxART_CUT); 
  static const wxString wxPyART_PASTE(wxART_PASTE); 
  static const wxString wxPyART_DELETE(wxART_DELETE); 
+ static const wxString wxPyART_NEW(wxART_NEW); 
  static const wxString wxPyART_UNDO(wxART_UNDO); 
  static const wxString wxPyART_REDO(wxART_REDO); 
  static const wxString wxPyART_QUIT(wxART_QUIT); 
@@ -16479,6 +16480,26 @@ static PyObject *_wrap_ART_DELETE_get(void) {
 }
 
 
+static int _wrap_ART_NEW_set(PyObject *) {
+    PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
+    return 1;
+}
+
+
+static PyObject *_wrap_ART_NEW_get(void) {
+    PyObject *pyobj;
+    
+    {
+#if wxUSE_UNICODE
+        pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
+#else
+        pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
+#endif
+    }
+    return pyobj;
+}
+
+
 static int _wrap_ART_UNDO_set(PyObject *) {
     PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
     return 1;
@@ -33973,6 +33994,7 @@ SWIGEXPORT(void) SWIG_init(void) {
     SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
     SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
     SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
+    SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
     SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
     SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
     SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);