// Author: David Webster
// Modified by:
// Created: ??/??/98
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl)
-
bool wxStaticBox::Create( wxWindow* pParent,
wxWindowID vId,
const wxString& rsLabel,
//
SetBackgroundColour(GetParent()->GetBackgroundColour());
- wxColour vColour;
- vColour.Set(wxString(wxT("BLACK")));
- LONG lColor = (LONG)vColour.GetPixel();
+ LONG lColor = (LONG)wxBLACK->GetPixel();
::WinSetPresParam( m_hWnd
,PP_FOREGROUNDCOLOR
,sizeof(LONG)