X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..35095c028d472a2d0b9607a9430a468765a16e3f:/wxPython/src/_icon.i diff --git a/wxPython/src/_icon.i b/wxPython/src/_icon.i index bd112d3d98..cfcdd02a39 100644 --- a/wxPython/src/_icon.i +++ b/wxPython/src/_icon.i @@ -23,7 +23,7 @@ class wxIcon : public wxGDIObject { public: - wxIcon(const wxString& name, long flags, + wxIcon(const wxString& name, wxBitmapType type, int desiredWidth = -1, int desiredHeight = -1); ~wxIcon(); @@ -51,7 +51,7 @@ public: #ifndef __WXMAC__ - bool LoadFile(const wxString& name, long flags); + bool LoadFile(const wxString& name, wxBitmapType type); #endif // wxGDIImage methods @@ -93,7 +93,7 @@ public: ~wxIconLocation(); - // returns true if this object is valid/initialized + // returns True if this object is valid/initialized bool IsOk() const; %pythoncode { def __nonzero__(self): return self.Ok() }