]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/shaped/shaped.cpp
Remove unused debian subdirectory.
[wxWidgets.git] / samples / shaped / shaped.cpp
index 9b05903463163b08954b8f1ad95c5afff270f378..cc357408ed10a2148182831fcc3890cdcf810350 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Robin Dunn
 // Modified by:
 // Created:     28-Mar-2003
 // Author:      Robin Dunn
 // Modified by:
 // Created:     28-Mar-2003
-// RCS-ID:      $Id$
 // Copyright:   (c) Robin Dunn
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 // Copyright:   (c) Robin Dunn
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -41,7 +40,7 @@
 #include "wx/graphics.h"
 #include "wx/image.h"
 
 #include "wx/graphics.h"
 #include "wx/image.h"
 
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../sample.xpm"
 #endif
 
     #include "../sample.xpm"
 #endif
 
@@ -490,7 +489,7 @@ SeeThroughFrame::SeeThroughFrame()
                   wxSTAY_ON_TOP),
          m_currentState(STATE_SEETHROUGH)
 {
                   wxSTAY_ON_TOP),
          m_currentState(STATE_SEETHROUGH)
 {
-    SetBackgroundColour(wxColour(255, 255, 255, 255));
+    SetBackgroundColour(*wxWHITE);
     SetBackgroundStyle(wxBG_STYLE_TRANSPARENT);
 }
 
     SetBackgroundStyle(wxBG_STYLE_TRANSPARENT);
 }