wxMOTIF ?: wxcursor:wxcursor overload fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2008-10-01 07:18:14 +00:00
parent 61f6ba079c
commit e98c72eccb

View File

@@ -239,13 +239,14 @@ void wxCursor::Create(WXPixmap pixmap, WXPixmap mask_pixmap,
} }
wxCursor::wxCursor(const char bits[], int width, int height, wxCursor::wxCursor(const char bits[], int width, int height,
int hotSpotX, int hotSpotY, const char maskBits[]) int hotSpotX, int hotSpotY, const char maskBits[] ,
const wxColour* WXUNUSED(fg), const wxColour* WXUNUSED(bg) )
{ {
Create(bits, width, height, hotSpotX, hotSpotY, maskBits); Create(bits, width, height, hotSpotX, hotSpotY, maskBits);
} }
wxCursor::wxCursor(const wxString& name, wxBitmapType type, int hotSpotX, int hotSpotY, wxCursor::wxCursor(const wxString& name, wxBitmapType type, int hotSpotX,
const wxColour* WXUNUSED(fg), const wxColour* WXUNUSED(bg)) int hotSpotY )
{ {
// Must be an XBM file // Must be an XBM file
if (type != wxBITMAP_TYPE_XBM) { if (type != wxBITMAP_TYPE_XBM) {