From cfd8e74094ed631e68f7baf6e506611559362d81 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Oct 2006 15:44:20 +0000 Subject: [PATCH] (probably wrong) fix for wxMSW linking errors introduced by last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/bitmap.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/include/wx/msw/bitmap.h b/include/wx/msw/bitmap.h index 332da5790c..9a2b830e43 100644 --- a/include/wx/msw/bitmap.h +++ b/include/wx/msw/bitmap.h @@ -243,15 +243,26 @@ public: virtual bool Create(wxBitmap *bitmap, const void* data, long flags, - int width, int height, int depth = 1); + int width, int height, int depth = 1) + { + return Create((wxGDIImage *)bitmap, data, flags, width, height, depth); + } + virtual bool LoadFile(wxBitmap *bitmap, const wxString& name, long flags, - int desiredWidth, int desiredHeight); + int desiredWidth, int desiredHeight) + { + return Load(bitmap, name, flags, desiredWidth, desiredHeight); + } + virtual bool SaveFile(wxBitmap *bitmap, const wxString& name, int type, - const wxPalette *palette = NULL); + const wxPalette * WXUNUSED(palette) = NULL) + { + return Save(bitmap, name, type); + } virtual bool Create(wxGDIImage *image, const void* data, -- 2.45.2