X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e520c3f75cbfb0ed6a751576d7032ef196a1817d..f46e6a1ef9541a3d13c38a114870658d3b4e004b:/samples/shaped/shaped.cpp diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index 9b05903463..614b7d076a 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -41,7 +41,7 @@ #include "wx/graphics.h" #include "wx/image.h" -#ifndef __WXMSW__ +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif @@ -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); }