removing unneeded method, closes #11073
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,8 +32,6 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
virtual ~wxCursor();
|
virtual ~wxCursor();
|
||||||
|
|
||||||
bool CreateFromXpm(const char* const* bits);
|
|
||||||
|
|
||||||
void MacInstall() const ;
|
void MacInstall() const ;
|
||||||
|
|
||||||
void SetHCURSOR(WXHCURSOR cursor);
|
void SetHCURSOR(WXHCURSOR cursor);
|
||||||
|
@@ -296,20 +296,6 @@ wxGDIRefData *wxCursor::CloneGDIRefData(const wxGDIRefData *data) const
|
|||||||
return new wxCursorRefData(*static_cast<const wxCursorRefData *>(data));
|
return new wxCursorRefData(*static_cast<const wxCursorRefData *>(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxCursor::CreateFromXpm(const char* const* bits)
|
|
||||||
{
|
|
||||||
#if wxUSE_IMAGE
|
|
||||||
wxCHECK_MSG( bits != NULL, false, wxT("invalid cursor data") );
|
|
||||||
wxXPMDecoder decoder;
|
|
||||||
wxImage img = decoder.ReadData(bits);
|
|
||||||
wxCHECK_MSG( img.Ok(), false, wxT("invalid cursor data") );
|
|
||||||
CreateFromImage( img ) ;
|
|
||||||
return true;
|
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
WXHCURSOR wxCursor::GetHCURSOR() const
|
WXHCURSOR wxCursor::GetHCURSOR() const
|
||||||
{
|
{
|
||||||
return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0);
|
return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0);
|
||||||
|
Reference in New Issue
Block a user