]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/joystick.cpp
wxMenu Review, added Carbon Events and full OSX Support
[wxWidgets.git] / src / msw / joystick.cpp
index 1faaa0caf6e1ca60113f56b2c903f1bc1ac472bb..1cfed858425806de013c72b0f8b81676f25ed7e5 100644 (file)
@@ -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);
 }