X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dce2bd223c2370f001f9ca93e04cbd437ff3f988..ad3fca675f77c2903cafd096bbda8baa2e7689ff:/wxPython/src/_artprov.i diff --git a/wxPython/src/_artprov.i b/wxPython/src/_artprov.i index e8f19c9eb6..586c4e7873 100644 --- a/wxPython/src/_artprov.i +++ b/wxPython/src/_artprov.i @@ -122,7 +122,7 @@ method and register the provider with wx.ArtProvider.PushProvider:: def CreateBitmap(self, artid, client, size): ... return bmp - +", " Identifying art resources ------------------------- @@ -186,6 +186,10 @@ identical bitmap for different client values! of the categories above) "); +MustHaveApp(wxPyArtProvider); +MustHaveApp(wxPyArtProvider::GetBitmap); +MustHaveApp(wxPyArtProvider::GetIcon); + %name(ArtProvider) class wxPyArtProvider /*: public wxObject*/ { public: @@ -197,18 +201,18 @@ public: DocDeclStr( static void , PushProvider(wxPyArtProvider *provider), - "Add new provider to the top of providers stack."); + "Add new provider to the top of providers stack.", ""); DocDeclStr( static bool , PopProvider(), - "Remove latest added provider and delete it."); + "Remove latest added provider and delete it.", ""); DocDeclStr( static bool , RemoveProvider(wxPyArtProvider *provider), "Remove provider. The provider must have been added previously! The -provider is _not_ deleted."); +provider is _not_ deleted.", ""); DocDeclStr( @@ -216,7 +220,7 @@ provider is _not_ deleted."); const wxString& client = wxPyART_OTHER, const wxSize& size = wxDefaultSize), "Query the providers for bitmap with given ID and return it. Return -wx.NullBitmap if no provider provides it."); +wx.NullBitmap if no provider provides it.", ""); DocDeclStr( @@ -224,7 +228,7 @@ wx.NullBitmap if no provider provides it."); const wxString& client = wxPyART_OTHER, const wxSize& size = wxDefaultSize), "Query the providers for icon with given ID and return it. Return -wx.NullIcon if no provider provides it."); +wx.NullIcon if no provider provides it.", ""); %extend { void Destroy() { delete self; }}