Little tweaks to match recent wxWidgets updates
authorRobin Dunn <robin@alldunn.com>
Wed, 1 Dec 2004 00:06:58 +0000 (00:06 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 1 Dec 2004 00:06:58 +0000 (00:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/ArtProvider.py
wxPython/src/_artprov.i
wxPython/src/_brush.i
wxPython/src/html.i
wxPython/wxPython/_misc.py

index 8eb6db413157e2262195502271b4203375921e78..8daadc6298bdba8c20133250fb0597038c8b030f 100644 (file)
@@ -33,7 +33,12 @@ ArtIDs = [ "wx.ART_ADD_BOOKMARK",
            "wx.ART_REPORT_VIEW",
            "wx.ART_LIST_VIEW",
            "wx.ART_NEW_DIR",
+           "wx.ART_HARDDISK",
+           "wx.ART_FLOPPY",
+           "wx.ART_CDROM",
+           "wx.ART_REMOVABLE",
            "wx.ART_FOLDER",
+           "wx.ART_FOLDER_OPEN",
            "wx.ART_GO_DIR_UP",
            "wx.ART_EXECUTABLE_FILE",
            "wx.ART_NORMAL_FILE",
index 3b413e0172974f1cefd8ebd23731fe755e4215a5..59337dd7a55d9161c3c5e8b69e529e6113b44727 100644 (file)
@@ -54,7 +54,12 @@ MAKE_CONST_WXSTRING(ART_TIP);
 MAKE_CONST_WXSTRING(ART_REPORT_VIEW);
 MAKE_CONST_WXSTRING(ART_LIST_VIEW);
 MAKE_CONST_WXSTRING(ART_NEW_DIR);
+MAKE_CONST_WXSTRING(ART_HARDDISK);
+MAKE_CONST_WXSTRING(ART_FLOPPY);
+MAKE_CONST_WXSTRING(ART_CDROM);
+MAKE_CONST_WXSTRING(ART_REMOVABLE);
 MAKE_CONST_WXSTRING(ART_FOLDER);
+MAKE_CONST_WXSTRING(ART_FOLDER_OPEN);
 MAKE_CONST_WXSTRING(ART_GO_DIR_UP);
 MAKE_CONST_WXSTRING(ART_EXECUTABLE_FILE);
 MAKE_CONST_WXSTRING(ART_NORMAL_FILE);
index ac34681356dcf5d005dbc93cb0d44014872c2200..6f39b239ef9fb01daccfe72037ab4d6dd1b165c6 100644 (file)
@@ -89,6 +89,11 @@ styles.", "");
 have a wx.STIPPLE style, then the return value may be non-None but an
 uninitialised bitmap (`wx.Bitmap.Ok` returns False).", "");
 
+    
+    DocDeclStr(
+        bool , IsHatch() const,
+        "Is the current style a hatch type?", "");
+    
 
     DocDeclStr(
         bool , Ok(),
index a2e91e9bd119239a7ddcf5daa9e6a67d2f77d26c..8450f856f3754c05f5dc14ddce7112a9b2ac0858 100644 (file)
@@ -972,7 +972,7 @@ public:
                           const wxString& normal_face = wxPyEmptyString,
                           const wxString& fixed_face = wxPyEmptyString);
     
-    int Render(int x, int y, int from = 0, int dont_render = false, int to = INT_MAX,
+    int Render(int x, int y, int from = 0, int dont_render = false, int maxHeight = INT_MAX,
                //int *known_pagebreaks = NULL, int number_of_pages = 0
                int* choices=NULL, int LCOUNT = 0
                );
index af1fcceb7cefb5215bd7d803360a84d529d01426..b28071202a4b5f1dde1c186c46f33ccfca8f215a 100644 (file)
@@ -412,7 +412,12 @@ wxART_TIP = wx._misc.ART_TIP
 wxART_REPORT_VIEW = wx._misc.ART_REPORT_VIEW
 wxART_LIST_VIEW = wx._misc.ART_LIST_VIEW
 wxART_NEW_DIR = wx._misc.ART_NEW_DIR
+wxART_HARDDISK = wx._misc.ART_HARDDISK
+wxART_FLOPPY = wx._misc.ART_FLOPPY
+wxART_CDROM = wx._misc.ART_CDROM
+wxART_REMOVABLE = wx._misc.ART_REMOVABLE
 wxART_FOLDER = wx._misc.ART_FOLDER
+wxART_FOLDER_OPEN = wx._misc.ART_FOLDER_OPEN
 wxART_GO_DIR_UP = wx._misc.ART_GO_DIR_UP
 wxART_EXECUTABLE_FILE = wx._misc.ART_EXECUTABLE_FILE
 wxART_NORMAL_FILE = wx._misc.ART_NORMAL_FILE