X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b62ca03d6f409732ca63c68a79b7ae81444222e5..5d6f17a5b92df0fdf4909ed78c35b4a86905ec7e:/samples/shaped/shaped.cpp?ds=sidebyside diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index 5ade1330a7..ea00e88566 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "shaped.cpp" - #pragma interface "shaped.cpp" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -161,12 +156,8 @@ ShapedFrame::ShapedFrame() m_hasShape = false; m_bmp = wxBitmap(_T("star.png"), wxBITMAP_TYPE_PNG); SetSize(wxSize(m_bmp.GetWidth(), m_bmp.GetHeight())); -#ifndef __WXMAC__ - // On wxMac the tooltip gets clipped by the window shape, YUCK!! -#if wxUSE_TOOLTOP SetToolTip(wxT("Right-click to exit")); -#endif -#endif + #ifndef __WXGTK__ // 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 and