]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
more woodoo in DoGetBestSize() to get rid of tree borders for default-sizes controls
[wxWidgets.git] / src / os2 / notebook.cpp
index e0051d4fd4b0b4eccbeac8626e36a78b8fe77c4b..07fda9543e45aacd8584d1bb99e12dabe360d3b9 100644 (file)
@@ -337,7 +337,7 @@ bool wxNotebook::SetPageImage (
     return (bool)::WinSendMsg( GetHWND()
                               ,BKM_SETTABBITMAP
                               ,MPFROMLONG((ULONG)m_alPageId[nPage])
-                              ,(MPARAM)wxFlipBmp(vBitmap.GetHBITMAP())
+                              ,(MPARAM)wxCopyBmp(vBitmap.GetHBITMAP(), true)
                              );
 } // end of wxNotebook::SetPageImage