]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/joystick.cpp
MSW Caret is now destroyed and recreated when resized.
[wxWidgets.git] / src / gtk / joystick.cpp
index e783f1276df15bfcca2abebad01f3ace5d523401..3b80491d4c5dbfe779579ca138b6dd62e29978b6 100644 (file)
@@ -54,7 +54,6 @@ void *wxJoystick::Entry(void)
   struct timeval time_out = {0, 0};
 
   FD_ZERO(&read_fds);
-  DeferDestroy(TRUE);
   while (1) {
     TestDestroy();
 
@@ -202,7 +201,7 @@ int wxJoystick::GetProductId(void) const
 
 wxString wxJoystick::GetProductName(void) const
 {
-  return "";
+  return wxT("");
 }
 
 int wxJoystick::GetXMin(void) const