X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c892a77ee4cdedb8270e24a17e1208b9e1c0fc47..cfcc39321282c5877cbb45248bb8004ced24516b:/src/msw/joystick.cpp?ds=sidebyside diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 1faaa0caf6..1cfed85842 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -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); }