Dialogs and slider updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-07-22 03:29:07 +00:00
parent f1ecc5db54
commit 70a2c6562f
9 changed files with 177 additions and 92 deletions

View File

@@ -60,12 +60,26 @@ bool wxStaticLine::Create(
,rsName
))
return FALSE;
return OS2CreateControl( _T("STATIC")
,_T("")
,rPos
,vSize
,lStyle
);
if (!OS2CreateControl( "STATIC"
,SS_FGNDFRAME
,rPos
,rSize
,rsName
))
return FALSE;
wxColour vColour;
vColour.Set(wxString("GREY"));
LONG lColor = (LONG)vColour.GetPixel();
::WinSetPresParam( m_hWnd
,PP_FOREGROUNDCOLOR
,sizeof(LONG)
,(PVOID)&lColor
);
return TRUE;
} // end of wxStaticLine::Create
WXDWORD wxStaticLine::OS2GetStyle(