class wxIcon : public wxGDIObject
{
public:
- wxIcon(const wxString& name, long flags,
+ wxIcon(const wxString& name, wxBitmapType type,
int desiredWidth = -1, int desiredHeight = -1);
~wxIcon();
#ifndef __WXMAC__
- bool LoadFile(const wxString& name, long flags);
+ bool LoadFile(const wxString& name, wxBitmapType type);
#endif
// wxGDIImage methods
#ifdef __WXMSW__
long GetHandle();
- void SetHandle(long handle);
+ %extend {
+ void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); }
+ }
#endif
bool Ok();
int GetWidth();