]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/iconloc.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxIconLocation
4 // Author: wxWidgets team
5 // Licence: wxWindows licence
6 /////////////////////////////////////////////////////////////////////////////
11 wxIconLocation is a tiny class describing the location of an (external, i.e.
12 not embedded into the application resources) icon. For most platforms it simply
13 contains the file name but under some others (notably Windows) the same file
14 may contain multiple icons and so this class also stores the index of the icon
17 In any case, its details should be of no interest to the application code and
18 most of them are not even documented here (on purpose) as it is only meant to
19 be used as an opaque class: the application may get the object of this class
20 from somewhere and the only reasonable thing to do with it later is to create
26 @see wxIcon, wxFileType::GetIcon
32 Returns @true if the object is valid, i.e.\ was properly initialized, and
37 void SetFileName(const wxString
& filename
);
38 const wxString
& GetFileName() const;