wxUSE_TOOLTIPS and wxUSE_IMAGE furthur fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton 2005-03-01 11:30:21 +00:00
parent b610cc76ee
commit 5e0526df03
2 changed files with 4 additions and 0 deletions

View File

@ -240,7 +240,9 @@ wxCursor::wxCursor(const char WXUNUSED(bits)[], int WXUNUSED(width), int WXUNUSE
wxCursor::wxCursor( const wxImage &image )
{
#if wxUSE_IMAGE
CreateFromImage( image ) ;
#endif
}
wxCursor::wxCursor(const char **bits)

View File

@ -2676,10 +2676,12 @@ bool wxWindowMac::MacSetupCursor( const wxPoint& pt)
wxString wxWindowMac::MacGetToolTipString( wxPoint &pt )
{
#if wxUSE_TOOLTIPS
if ( m_tooltip )
{
return m_tooltip->GetTip() ;
}
#endif
return wxEmptyString ;
}