]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/shaped/shaped.cpp
fixes potential crash under gatekeeper
[wxWidgets.git] / samples / shaped / shaped.cpp
index e1e3afc17abff8bfe6f3d382a9ec742721545de9..614b7d076a6ad026bde9d0412d12872a3bb68fde 100644 (file)
@@ -490,7 +490,7 @@ SeeThroughFrame::SeeThroughFrame()
                   wxSTAY_ON_TOP),
          m_currentState(STATE_SEETHROUGH)
 {
-    SetBackgroundColour(wxColour(255, 255, 255, 255));
+    SetBackgroundColour(*wxWHITE);
     SetBackgroundStyle(wxBG_STYLE_TRANSPARENT);
 }