X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..e733c4ce1e24cf7e4b0b0d8362fc59aaa7a7641c:/src/os2/statbox.cpp?ds=sidebyside diff --git a/src/os2/statbox.cpp b/src/os2/statbox.cpp index 41f25791f4..94d826ec8d 100644 --- a/src/os2/statbox.cpp +++ b/src/os2/statbox.cpp @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: ??/??/98 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -22,8 +21,6 @@ #include "wx/os2/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxStaticBox, wxControl) - bool wxStaticBox::Create( wxWindow* pParent, wxWindowID vId, const wxString& rsLabel, @@ -62,9 +59,7 @@ bool wxStaticBox::Create( wxWindow* pParent, // 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)