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