X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11fdee427ee7c2aae0fda8655b30791f084a45ab..a9b4774c0502f29e0f8eb6757a944420d02d5274:/samples/shaped/shaped.cpp diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index d91d53cb12..ea00e88566 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation - #pragma interface -#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