X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4e325b3df3d4c0b3ca21d4d1781acab6a488e4c..2f6407b9473f0a3cbd88d6419926b25ab5d6850a:/include/wx/gtk1/bitmap.h?ds=sidebyside diff --git a/include/wx/gtk1/bitmap.h b/include/wx/gtk1/bitmap.h index fe5f8eddec..18f13ad7e3 100644 --- a/include/wx/gtk1/bitmap.h +++ b/include/wx/gtk1/bitmap.h @@ -32,6 +32,7 @@ class wxToolBar; class wxBitmapButton; class wxStaticBitmap; class wxFrame; +class wxDialog; class wxTreeCtrl; class wxMask; @@ -62,6 +63,7 @@ class wxMask: public wxObject friend wxBitmapButton; friend wxStaticBitmap; friend wxFrame; + friend wxDialog; friend wxTreeCtrl; GdkBitmap *GetBitmap() const; @@ -108,7 +110,7 @@ class wxBitmap: public wxObject void Resize( int height, int width ); - bool SaveFile( const wxString &name, int type, wxPalette *palette = NULL ); + bool SaveFile( const wxString &name, int type, wxPalette *palette = (wxPalette *) NULL ); bool LoadFile( const wxString &name, int type = wxBITMAP_TYPE_XPM); wxPalette *GetPalette() const; @@ -124,6 +126,7 @@ class wxBitmap: public wxObject friend wxBitmapButton; friend wxStaticBitmap; friend wxFrame; + friend wxDialog; friend wxTreeCtrl; GdkPixmap *GetPixmap() const;