X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c892a77ee4cdedb8270e24a17e1208b9e1c0fc47..f332a5a0f83caabe02e82508402c5f8096a04ea3:/src/msw/joystick.cpp diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 1faaa0caf6..0d0a0d0751 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -306,7 +306,7 @@ wxString wxJoystick::GetProductName() const { JOYCAPS joyCaps; if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR) - return wxString(""); + return wxEmptyString; else return wxString(joyCaps.szPname); }