X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e58dab20ce995856303154a367bcca904066525c..a1f7eb20e6cfbc3e3e4999b62639325bb43f9f81:/src/os2/statbmp.cpp diff --git a/src/os2/statbmp.cpp b/src/os2/statbmp.cpp index d06a109a0e..07856d8e84 100644 --- a/src/os2/statbmp.cpp +++ b/src/os2/statbmp.cpp @@ -71,13 +71,11 @@ bool wxStaticBitmap::Create( m_bIsIcon = rBitmap.IsKindOf(CLASSINFO(wxIcon)); - // TODO: create static bitmap control - const wxChar* zClassname = wxT("WX_STATIC"); int nWinstyle = m_bIsIcon ? SS_ICON : SS_BITMAP; m_hWnd = (WXHWND)::WinCreateWindow( pParent->GetHWND() - ,zClassname - ,wxT("") + ,WC_STATIC + ,rName.c_str() ,nWinstyle | WS_VISIBLE ,0,0,0,0 ,pParent->GetHWND()