]> git.saurik.com Git - wxWidgets.git/blame - src/cocoa/icon.cpp
Use a delegate instead of manually adding notifications. Not only is this
[wxWidgets.git] / src / cocoa / icon.cpp
CommitLineData
a24aff65
DE
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
19IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
20#endif
21
22/*
23 * Icons
24 */
25
26
27wxIcon::wxIcon()
28{
29}
30
ce50c4d1
DE
31wxIcon::wxIcon(const char **xpm)
32{
33}
34
cd7542bc
DE
35wxIcon::wxIcon(char **xpm)
36{
37}
38
a24aff65
DE
39wxIcon::wxIcon(const char WXUNUSED(bits)[], int WXUNUSED(width), int WXUNUSED(height))
40{
41}
42
43wxIcon::wxIcon(const wxString& icon_file, int flags,
44 int desiredWidth, int desiredHeight)
45
46{
47 LoadFile(icon_file, (wxBitmapType)flags, desiredWidth, desiredHeight);
48}
49
50wxIcon::~wxIcon()
51{
52}
53
54bool wxIcon::LoadFile(const wxString& filename, wxBitmapType type,
55 int desiredWidth, int desiredHeight)
56{
57 UnRef();
58
4c7020e9 59 return FALSE;
a24aff65
DE
60}
61
62void wxIcon::CopyFromBitmap(const wxBitmap& icno)
63{
64}
65