]> git.saurik.com Git - wxWidgets.git/commitdiff
friends declarations removed, GetBitmap/Pixmap functions made public
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Sep 1998 12:45:34 +0000 (12:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Sep 1998 12:45:34 +0000 (12:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/bitmap.h
include/wx/gtk1/bitmap.h

index 61f2bb2708197f40f7bf7648d61be8b7285f9b29..689f30ce9fae6f1421d9759f5f12e2a7e3f520a8 100644 (file)
@@ -5,7 +5,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -119,22 +119,10 @@ class wxBitmap: public wxObject
     wxPalette *GetColourMap() const
       { return GetPalette(); };
 
     wxPalette *GetColourMap() const
       { return GetPalette(); };
 
-  private:
-
-    friend wxDC;
-    friend wxPaintDC;
-    friend wxMemoryDC;
-    friend wxToolBar;
-    friend wxBitmapButton;
-    friend wxStaticBitmap;
-    friend wxFrame;
-    friend wxDialog;
-    friend wxTreeCtrl;
-    friend wxNotebook;
-
     GdkPixmap *GetPixmap() const;
     GdkBitmap *GetBitmap() const;
     GdkPixmap *GetPixmap() const;
     GdkBitmap *GetBitmap() const;
-  
+
+  private:
     void DestroyImage();
     void RecreateImage();
     void Render();
     void DestroyImage();
     void RecreateImage();
     void Render();
index 61f2bb2708197f40f7bf7648d61be8b7285f9b29..689f30ce9fae6f1421d9759f5f12e2a7e3f520a8 100644 (file)
@@ -5,7 +5,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -119,22 +119,10 @@ class wxBitmap: public wxObject
     wxPalette *GetColourMap() const
       { return GetPalette(); };
 
     wxPalette *GetColourMap() const
       { return GetPalette(); };
 
-  private:
-
-    friend wxDC;
-    friend wxPaintDC;
-    friend wxMemoryDC;
-    friend wxToolBar;
-    friend wxBitmapButton;
-    friend wxStaticBitmap;
-    friend wxFrame;
-    friend wxDialog;
-    friend wxTreeCtrl;
-    friend wxNotebook;
-
     GdkPixmap *GetPixmap() const;
     GdkBitmap *GetBitmap() const;
     GdkPixmap *GetPixmap() const;
     GdkBitmap *GetBitmap() const;
-  
+
+  private:
     void DestroyImage();
     void RecreateImage();
     void Render();
     void DestroyImage();
     void RecreateImage();
     void Render();