]> git.saurik.com Git - wxWidgets.git/commitdiff
Typo and compilation fix
authorRobin Dunn <robin@alldunn.com>
Fri, 28 Mar 2003 23:56:19 +0000 (23:56 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 28 Mar 2003 23:56:19 +0000 (23:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/shaped/shaped.cpp

index c43c71ff4552e070ccae9415195e039b8d1cb26e..7914ddc47f267e90908eb0f22d9953084d724ec5 100644 (file)
@@ -42,6 +42,7 @@
 #endif
 
 #include "wx/dcclient.h"
+#include "wx/image.h"
 
 // ----------------------------------------------------------------------------
 // private classes
@@ -154,7 +155,7 @@ ShapedFrame::ShapedFrame()
     m_bmp = wxBitmap("star.png", wxBITMAP_TYPE_PNG);
     SetSize(wxSize(m_bmp.GetWidth(), m_bmp.GetHeight()));
     SetToolTip(wxT("Right-click to exit"));
-#ifdef __wxMSW__
+#ifdef __WXMSW__
     // On wxGTK we can't do this yet because the window hasn't been created
     // yet so we wait until the EVT_WINDOW_CREATE event happens.  On wxMSW it
     // has been created so we set the shape now.