]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbmp.cpp
check that wxString is valid before dumping it
[wxWidgets.git] / src / os2 / statbmp.cpp
index 8154913fd084143c8b5578569c83f9703481e6ae..ed401f97db67a139d73dfbffc3f2a87e2335ac1d 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     11/27/99
 // RCS-ID:      $Id$
 // Copyright:   (c) David Webster
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
@@ -109,7 +109,7 @@ bool wxStaticBitmap::Create(
     int                             nWinstyle = SS_ICON;
 
     m_hWnd = (WXHWND)::WinCreateWindow( pParent->GetHWND()
-                                       ,wxCanvasClassName
+                                       ,(PSZ)wxCanvasClassName
                                        ,zId
                                        ,nWinstyle | WS_VISIBLE
                                        ,0,0,0,0