OS/2 updates and initial toolbar implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user