]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/iconloc.h
Make wxHelpControllerBase::SetFrameParameters() title more clear.
[wxWidgets.git] / interface / wx / iconloc.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: iconloc.h
e54c96f1 3// Purpose: interface of wxIconLocation
23324ae1
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
526954c5 6// Licence: wxWindows licence
23324ae1
FM
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxIconLocation
7c913512 11
23324ae1
FM
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
16 inside the file.
7c913512 17
23324ae1
FM
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
22 a wxIcon from it.
7c913512 23
23324ae1 24 @library{wxbase}
427c415b 25 @category{gdi}
7c913512 26
e54c96f1 27 @see wxIcon, wxFileType::GetIcon
23324ae1 28*/
7c913512 29class wxIconLocation
23324ae1
FM
30{
31public:
32 /**
7c913512 33 Returns @true if the object is valid, i.e. was properly initialized, and
23324ae1
FM
34 @false otherwise.
35 */
328f5751 36 bool IsOk() const;
6f9921e1
RD
37
38 void SetFileName(const wxString& filename);
39 const wxString& GetFileName() const;
40
23324ae1 41};
e54c96f1 42