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:
@@ -240,7 +240,9 @@ wxCursor::wxCursor(const char WXUNUSED(bits)[], int WXUNUSED(width), int WXUNUSE
|
|||||||
|
|
||||||
wxCursor::wxCursor( const wxImage &image )
|
wxCursor::wxCursor( const wxImage &image )
|
||||||
{
|
{
|
||||||
|
#if wxUSE_IMAGE
|
||||||
CreateFromImage( image ) ;
|
CreateFromImage( image ) ;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
wxCursor::wxCursor(const char **bits)
|
wxCursor::wxCursor(const char **bits)
|
||||||
|
@@ -2676,10 +2676,12 @@ bool wxWindowMac::MacSetupCursor( const wxPoint& pt)
|
|||||||
|
|
||||||
wxString wxWindowMac::MacGetToolTipString( wxPoint &pt )
|
wxString wxWindowMac::MacGetToolTipString( wxPoint &pt )
|
||||||
{
|
{
|
||||||
|
#if wxUSE_TOOLTIPS
|
||||||
if ( m_tooltip )
|
if ( m_tooltip )
|
||||||
{
|
{
|
||||||
return m_tooltip->GetTip() ;
|
return m_tooltip->GetTip() ;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return wxEmptyString ;
|
return wxEmptyString ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user