X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7092398891c83b12c84305d8d0206bdbe415fa0..54582f9ac65be400bf998d26197eba4f7650a574:/samples/shaped/shaped.cpp diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index e1e3afc17a..614b7d076a 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -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); }