Cosmetic fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -65,24 +65,20 @@ bool wxStaticBox::Create(
|
||||
SetBackgroundColour(GetParent()->GetBackgroundColour());
|
||||
|
||||
wxColour vColour;
|
||||
|
||||
vColour.Set(wxString(wxT("BLACK")));
|
||||
|
||||
LONG lColor = (LONG)vColour.GetPixel();
|
||||
|
||||
::WinSetPresParam( m_hWnd
|
||||
,PP_FOREGROUNDCOLOR
|
||||
,sizeof(LONG)
|
||||
,(PVOID)&lColor
|
||||
);
|
||||
lColor = (LONG)m_backgroundColour.GetPixel();
|
||||
|
||||
lColor = (LONG)m_backgroundColour.GetPixel();
|
||||
::WinSetPresParam( m_hWnd
|
||||
,PP_BACKGROUNDCOLOR
|
||||
,sizeof(LONG)
|
||||
,(PVOID)&lColor
|
||||
);
|
||||
SetFont(*wxSMALL_FONT);
|
||||
SetSize( rPos.x
|
||||
,rPos.y
|
||||
,rSize.x
|
||||
|
Reference in New Issue
Block a user