]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/notebook.cpp
Fixed duplicate symbol link error
[wxWidgets.git] / src / os2 / notebook.cpp
index ff60f14a897643832f1c314547d28c0bf1583d4f..f792c76a6057c50f1c2f0e5363bd2dd8f80e3aaa 100644 (file)
@@ -319,12 +319,12 @@ bool wxNotebook::SetPageImage (
 , int                               nImage
 )
 {
-    wxBitmap*                       pBitmap = (wxBitmap*)m_imageList->GetBitmap(nImage);
+    wxBitmap                        vBitmap = (wxBitmap)m_imageList->GetBitmap(nImage);
 
     return (bool)::WinSendMsg( GetHWND()
                               ,BKM_SETTABBITMAP
                               ,MPFROMLONG((ULONG)m_alPageId[nPage])
-                              ,(MPARAM)pBitmap->GetHBITMAP()
+                              ,(MPARAM)vBitmap.GetHBITMAP()
                              );
 } // end of wxNotebook::SetPageImage