X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c892a77ee4cdedb8270e24a17e1208b9e1c0fc47..9c9c3d7a8f6c4ee3481674e901d34714ee18915d:/src/msw/joystick.cpp 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); }