]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/radiobox.cpp
fixed TestTimeFormat() test: and can use 2 digit years which broke dates comparison...
[wxWidgets.git] / src / os2 / radiobox.cpp
index c65677b170f08bdad1152e1be063b47c66755183..3632ef191b8c18b29f6d292792ac4949c7e745ce 100644 (file)
@@ -145,11 +145,10 @@ bool wxRadioBox::Create( wxWindow* pParent,
                          const wxValidator& rVal,
                          const wxString& rsName )
 {
-    wxColour vColour;
+    wxColour vColour(*wxBLACK);
     LONG     lColor;
     HWND     hWndParent = GetHwndOf(pParent);
 
-    vColour.Set(wxString(wxT("BLACK")));
     m_backgroundColour = pParent->GetBackgroundColour();
     m_nSelectedButton = -1;
     m_nNoItems = 0;