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:
parent
b610cc76ee
commit
5e0526df03
@ -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)
|
||||
|
@ -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 ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user