From 020303e6f9b582dfd75ba498a72f5f14f6cfff85 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 1 Dec 2004 00:06:58 +0000 Subject: [PATCH] Little tweaks to match recent wxWidgets updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/ArtProvider.py | 5 +++++ wxPython/src/_artprov.i | 5 +++++ wxPython/src/_brush.i | 5 +++++ wxPython/src/html.i | 2 +- wxPython/wxPython/_misc.py | 5 +++++ 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/wxPython/demo/ArtProvider.py b/wxPython/demo/ArtProvider.py index 8eb6db4131..8daadc6298 100644 --- a/wxPython/demo/ArtProvider.py +++ b/wxPython/demo/ArtProvider.py @@ -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", diff --git a/wxPython/src/_artprov.i b/wxPython/src/_artprov.i index 3b413e0172..59337dd7a5 100644 --- a/wxPython/src/_artprov.i +++ b/wxPython/src/_artprov.i @@ -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); diff --git a/wxPython/src/_brush.i b/wxPython/src/_brush.i index ac34681356..6f39b239ef 100644 --- a/wxPython/src/_brush.i +++ b/wxPython/src/_brush.i @@ -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(), diff --git a/wxPython/src/html.i b/wxPython/src/html.i index a2e91e9bd1..8450f856f3 100644 --- a/wxPython/src/html.i +++ b/wxPython/src/html.i @@ -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 ); diff --git a/wxPython/wxPython/_misc.py b/wxPython/wxPython/_misc.py index af1fcceb7c..b28071202a 100644 --- a/wxPython/wxPython/_misc.py +++ b/wxPython/wxPython/_misc.py @@ -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 -- 2.47.2