]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/icon.cpp
moved wxIcon implementation for ports where it's identical to wxBitmap to generic...
[wxWidgets.git] / src / gtk1 / icon.cpp
diff --git a/src/gtk1/icon.cpp b/src/gtk1/icon.cpp
deleted file mode 100644 (file)
index 0d82d68..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/////////////////////////////////////////////////////////////////////////////
-// Name:        icon.cpp
-// Purpose:
-// Author:      Robert Roebling
-// Id:          $Id$
-// Copyright:   (c) 1998 Robert Roebling
-// Licence:    wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-// For compilers that support precompilation, includes "wx.h".
-#include "wx/wxprec.h"
-
-#include "wx/icon.h"
-
-//-----------------------------------------------------------------------------
-// wxIcon
-//-----------------------------------------------------------------------------
-
-IMPLEMENT_DYNAMIC_CLASS(wxIcon,wxBitmap)
-
-wxIcon::wxIcon( const char **bits, int WXUNUSED(width), int WXUNUSED(height) ) :
-    wxBitmap( bits )
-{
-}
-
-wxIcon::wxIcon( char **bits, int WXUNUSED(width), int WXUNUSED(height) ) :
-    wxBitmap( bits )
-{
-}
-
-wxIcon::wxIcon() :  wxBitmap()
-{
-}
-
-void wxIcon::CopyFromBitmap(const wxBitmap& bmp)
-{
-    wxIcon *icon = (wxIcon*)(&bmp);
-    *this = *icon;
-}