X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..5c250a10332dc17263c66deb629b5fa8c4320f8a:/src/msw/bitmap.cpp?ds=sidebyside diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index 12294cdc71..ad7929de21 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -362,47 +362,6 @@ wxBitmap::~wxBitmap() { } -wxBitmap::wxBitmap() -{ - Init(); -} - -wxBitmap::wxBitmap(const wxBitmap& bitmap) -{ - Init(); - Ref(bitmap); -} - -wxBitmap::wxBitmap(const char **data) -{ - CreateFromXpm(data); -} - -wxBitmap::wxBitmap(char **data) -{ - CreateFromXpm((const char **)data); -} - -#if wxUSE_IMAGE - -wxBitmap::wxBitmap(const wxImage& image, int depth) -{ - (void)CreateFromImage(image, depth); -} - -wxBitmap::wxBitmap(const wxImage& image, const wxDC& dc) -{ - (void)CreateFromImage(image, dc); -} - -#endif // wxUSE_IMAGE - -wxBitmap::wxBitmap(const wxIcon& icon) -{ - Init(); - CopyFromIcon(icon); -} - wxBitmap::wxBitmap(const char bits[], int width, int height, int depth) { Init(); @@ -561,10 +520,6 @@ bool wxBitmap::DoCreate(int w, int h, int d, WXHDC hdc) else // create a DDB #endif { - if ( d == -1 ) - d = wxDisplayDepth(); - - GetBitmapData()->m_depth = d; #ifndef __WXMICROWIN__ if ( d > 0 )