]> git.saurik.com Git - wxWidgets.git/commitdiff
tooltips work under Mac as well; no need for wxUSE_TOOLTIP (especially spellt incorre...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jul 2005 10:23:05 +0000 (10:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 20 Jul 2005 10:23:05 +0000 (10:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/shaped/shaped.cpp

index d91d53cb1291c4e89d0f3ae267518520612d35b5..ae8675c7cb3ff4f642cbef4301fa803fab5d8793 100644 (file)
@@ -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