]> git.saurik.com Git - wxWidgets.git/commitdiff
(probably wrong) fix for wxMSW linking errors introduced by last commit
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 15:44:20 +0000 (15:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 15:44:20 +0000 (15:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/bitmap.h

index 332da5790c3dde353f46705f967ecad12b6cbb5f..9a2b830e43d40f08a6dcfdfd87d002ac99593f7f 100644 (file)
@@ -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,