* of course, gcc4 had more issues with the Joystick preflet

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38205 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-08-17 18:08:38 +00:00
parent f3e4c16e4c
commit 77d9a1e9bc
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Preference Joysticks :
Joysticks.cpp Joysticks.cpp
MessageWin.cpp MessageWin.cpp
PortItem.cpp PortItem.cpp
: be libdevice.so : be libdevice.so $(TARGET_LIBSUPC++)
: Joysticks.rdef : Joysticks.rdef
; ;
+6 -6
View File
@@ -191,7 +191,7 @@ JoyWin::MessageReceived(BMessage *message)
} }
} else { } else {
fConControllerL->DeselectAll(); fConControllerL->DeselectAll();
ShowMessage(SELECTGAMEPORTFIRST); ShowMessage((char*)SELECTGAMEPORTFIRST);
} }
break; break;
} }
@@ -204,7 +204,7 @@ JoyWin::MessageReceived(BMessage *message)
//printf("invoke.. inte null\n"); //printf("invoke.. inte null\n");
_PerformProbe(item->Text()); _PerformProbe(item->Text());
} else } else
ShowMessage(SELECTGAMEPORTFIRST); ShowMessage((char*)SELECTGAMEPORTFIRST);
break; break;
} }
@@ -233,7 +233,7 @@ JoyWin::MessageReceived(BMessage *message)
dir->CreateSymLink(strLinkPlace.String(), dir->CreateSymLink(strLinkPlace.String(),
strLinkTo.String(), NULL); strLinkTo.String(), NULL);
} else } else
ShowMessage(SELECTGAMEPORTFIRST); ShowMessage((char*)SELECTGAMEPORTFIRST);
} }
fSystemUsedSelect = false; fSystemUsedSelect = false;
@@ -256,7 +256,7 @@ JoyWin::MessageReceived(BMessage *message)
*/ */
} }
} else } else
ShowMessage(SELECTGAMEPORTFIRST); ShowMessage((char*)SELECTGAMEPORTFIRST);
break; break;
} }
default: default:
@@ -276,8 +276,8 @@ JoyWin::QuitRequested()
//---------------------- Private ---------------------------------// //---------------------- Private ---------------------------------//
status_t status_t
JoyWin::_AddToList(BListView *list, uint32 command, JoyWin::_AddToList(BListView *list, uint32 command, const char* rootPath,
const char* rootPath, BEntry *rootEntry = NULL) BEntry *rootEntry)
{ {
BDirectory root; BDirectory root;
+1 -1
View File
@@ -17,7 +17,7 @@ PortItem::~PortItem()
{} {}
void void
PortItem::DrawItem(BView *owner, BRect frame, bool complete = false) PortItem::DrawItem(BView *owner, BRect frame, bool complete)
{ {
BStringItem::DrawItem(owner, frame, complete); BStringItem::DrawItem(owner, frame, complete);
} }