]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bitmap.cpp
fixes for page positioning for notebooks with wxNB_MULTILINE style (closes bugs 70909...
[wxWidgets.git] / src / msw / bitmap.cpp
index 3a3798dce352d67c3dc07aea01b4d347d6564472..ad7929de219c2fc9d8c1451edd62f63868e0b862 100644 (file)
@@ -520,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 )