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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user