]> git.saurik.com Git - wxWidgets.git/blob - src/cocoa/icon.cpp
Added dash support
[wxWidgets.git] / src / cocoa / icon.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: icon.cpp
3 // Purpose: wxIcon class
4 // Author: AUTHOR
5 // Modified by:
6 // Created: ??/??/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifdef __GNUG__
13 #pragma implementation "icon.h"
14 #endif
15
16 #include "wx/icon.h"
17
18 #if !USE_SHARED_LIBRARIES
19 IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
20 #endif
21
22 /*
23 * Icons
24 */
25
26
27 wxIcon::wxIcon()
28 {
29 }
30
31 wxIcon::wxIcon(const char **xpm)
32 {
33 }
34
35 wxIcon::wxIcon(char **xpm)
36 {
37 }
38
39 wxIcon::wxIcon(const char WXUNUSED(bits)[], int WXUNUSED(width), int WXUNUSED(height))
40 {
41 }
42
43 wxIcon::wxIcon(const wxString& icon_file, int flags,
44 int desiredWidth, int desiredHeight)
45
46 {
47 LoadFile(icon_file, (wxBitmapType)flags, desiredWidth, desiredHeight);
48 }
49
50 wxIcon::~wxIcon()
51 {
52 }
53
54 bool wxIcon::LoadFile(const wxString& filename, wxBitmapType type,
55 int desiredWidth, int desiredHeight)
56 {
57 UnRef();
58
59 return FALSE;
60 }
61
62 void wxIcon::CopyFromBitmap(const wxBitmap& icno)
63 {
64 }
65