X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b62ca03d6f409732ca63c68a79b7ae81444222e5..da98e15760bfcad41a5579e64955caadc2e535f3:/samples/shaped/shaped.cpp diff --git a/samples/shaped/shaped.cpp b/samples/shaped/shaped.cpp index 5ade1330a7..ae8675c7cb 100644 --- a/samples/shaped/shaped.cpp +++ b/samples/shaped/shaped.cpp @@ -18,8 +18,8 @@ // ---------------------------------------------------------------------------- #if defined(__GNUG__) && !defined(__APPLE__) - #pragma implementation "shaped.cpp" - #pragma interface "shaped.cpp" + #pragma implementation + #pragma interface #endif // For compilers that support precompilation, includes "wx/wx.h". @@ -161,12 +161,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