removed hard tabs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-03-20 22:57:07 +00:00
parent 45f3249bb6
commit 511fb92a6c

View File

@ -808,8 +808,9 @@ bool wxBitmap::CreateFromImage(const wxImage& image, int depth, WXHDC hdc)
wxDIB dib(image);
if ( !dib.IsOk() )
return false;
if (depth == -1)
depth = dib.GetDepth(); // Get depth from image if none specified
if ( depth == -1 )
depth = dib.GetDepth(); // Get depth from image if none specified
// store the bitmap parameters
wxBitmapRefData *refData = new wxBitmapRefData;