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