]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bitmap.cpp
don't declare inline function with dllexport declaration, this provokes mingw32 warni...
[wxWidgets.git] / src / msw / bitmap.cpp
index 20a2aa22b915d0265e6db246f97ee271dc8af408..8ef2b8b3f3f699ea3f20825bbc2bad855f729834 100644 (file)
@@ -1164,15 +1164,6 @@ wxDC *wxBitmap::GetSelectedInto() const
 
 #endif
 
-#if WXWIN_COMPATIBILITY_2_4
-
-int wxBitmap::GetQuality() const
-{
-    return 0;
-}
-
-#endif // WXWIN_COMPATIBILITY_2_4
-
 void wxBitmap::UseAlpha()
 {
     if ( GetBitmapData() )
@@ -1216,14 +1207,6 @@ void wxBitmap::SetMask(wxMask *mask)
     GetBitmapData()->SetMask(mask);
 }
 
-#if WXWIN_COMPATIBILITY_2_4
-
-void wxBitmap::SetQuality(int WXUNUSED(quality))
-{
-}
-
-#endif // WXWIN_COMPATIBILITY_2_4
-
 // ----------------------------------------------------------------------------
 // raw bitmap access support
 // ----------------------------------------------------------------------------
@@ -1347,6 +1330,7 @@ wxMask::wxMask()
 
 // Copy constructor
 wxMask::wxMask(const wxMask &mask)
+      : wxObject()
 {
     BITMAP bmp;
 
@@ -1370,7 +1354,7 @@ wxMask::wxMask(const wxMask &mask)
     SelectObject(destDC, (HBITMAP) m_maskBitmap);
 
     BitBlt(destDC, 0, 0, w, h, srcDC, 0, 0, SRCCOPY);
-    
+
     SelectObject(srcDC, 0);
     DeleteDC(srcDC);
     SelectObject(destDC, 0);