X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f05df5a85aa0162124d52384c2ef87de64df2131..2aa45cc91981cbf8be5d6c63c3fda99b530cf308:/include/wx/gtk/bitmap.h diff --git a/include/wx/gtk/bitmap.h b/include/wx/gtk/bitmap.h index 689f30ce9f..81406d49ec 100644 --- a/include/wx/gtk/bitmap.h +++ b/include/wx/gtk/bitmap.h @@ -25,17 +25,6 @@ // classes //----------------------------------------------------------------------------- -class wxDC; -class wxPaintDC; -class wxMemoryDC; -class wxToolBar; -class wxBitmapButton; -class wxStaticBitmap; -class wxFrame; -class wxDialog; -class wxTreeCtrl; -class wxNotebook; - class wxMask; class wxBitmap; @@ -55,22 +44,13 @@ class wxMask: public wxObject wxMask( const wxBitmap& bitmap ); ~wxMask(); - private: - - friend wxBitmap; - friend wxDC; - friend wxPaintDC; - friend wxToolBar; - friend wxBitmapButton; - friend wxStaticBitmap; - friend wxFrame; - friend wxDialog; - friend wxTreeCtrl; - friend wxNotebook; - + // implementation + GdkBitmap *GetBitmap() const; protected: + + friend wxBitmap; GdkBitmap *m_bitmap; @@ -118,11 +98,12 @@ class wxBitmap: public wxObject wxPalette *GetPalette() const; wxPalette *GetColourMap() const { return GetPalette(); }; + + // implementation GdkPixmap *GetPixmap() const; GdkBitmap *GetBitmap() const; - private: void DestroyImage(); void RecreateImage(); void Render();