/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/src/generic/icon.cpp
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/src/generic/icon.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations) (download)
Tue Sep 7 03:24:11 2010 UTC (10 years ago) by william
Original Path: trunk/3rdparty/wxWidgets/src/generic/icon.cpp
File size: 1192 byte(s)
committing r3113 initial commit again...
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/generic/icon.cpp
3 // Purpose: wxIcon implementation for ports where it's same as wxBitmap
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 17/09/98
7 // RCS-ID: $Id: icon.cpp 40531 2006-08-09 17:59:30Z VS $
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // for compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #include "wx/icon.h"
20
21 //-----------------------------------------------------------------------------
22 // wxIcon
23 //-----------------------------------------------------------------------------
24
25 IMPLEMENT_DYNAMIC_CLASS(wxIcon, wxBitmap)
26
27 wxIcon::wxIcon( const char **bits, int WXUNUSED(width), int WXUNUSED(height) ) :
28 wxBitmap( bits )
29 {
30 }
31
32 wxIcon::wxIcon( char **bits, int WXUNUSED(width), int WXUNUSED(height) ) :
33 wxBitmap( bits )
34 {
35 }
36
37 wxIcon::wxIcon() : wxBitmap()
38 {
39 }
40
41 void wxIcon::CopyFromBitmap(const wxBitmap& bmp)
42 {
43 wxIcon *icon = (wxIcon*)(&bmp);
44 *this = *icon;
45 }

  ViewVC Help
Powered by ViewVC 1.1.22