Janitorial work and gcc3-related fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3408 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d2a9d5e5fe
commit
40ceba30d6
@ -27,9 +27,9 @@
|
||||
// Standard Includes -----------------------------------------------------------
|
||||
|
||||
// System Includes -------------------------------------------------------------
|
||||
#include "Menu.h"
|
||||
#include "MenuItem.h"
|
||||
#include "Window.h"
|
||||
#include <Menu.h>
|
||||
#include <MenuItem.h>
|
||||
#include <Window.h>
|
||||
#include <PropertyInfo.h>
|
||||
#include <Errors.h>
|
||||
#include <File.h>
|
||||
|
@ -25,6 +25,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Standard Includes -----------------------------------------------------------
|
||||
#include <string.h>
|
||||
|
||||
// System Includes -------------------------------------------------------------
|
||||
#include <Polygon.h>
|
||||
|
@ -160,7 +160,7 @@ void BTextControl::SetValue(int32 value)
|
||||
{
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
status_t BTextControl::Invoke(BMessage* msg = NULL)
|
||||
status_t BTextControl::Invoke(BMessage* msg)
|
||||
{
|
||||
return BControl::Invoke(msg);
|
||||
}
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <Message.h>
|
||||
#include <Bitmap.h>
|
||||
#include <Cursor.h>
|
||||
#include <Message.h>
|
||||
#include <Picture.h>
|
||||
#include <Polygon.h>
|
||||
#include <Region.h>
|
||||
|
@ -123,7 +123,7 @@ BWindow::BWindow(BRect frame,
|
||||
const char* title,
|
||||
window_type type,
|
||||
uint32 flags,
|
||||
uint32 workspace = B_CURRENT_WORKSPACE)
|
||||
uint32 workspace)
|
||||
: BLooper( title )
|
||||
{
|
||||
window_look look;
|
||||
@ -141,7 +141,7 @@ BWindow::BWindow(BRect frame,
|
||||
window_look look,
|
||||
window_feel feel,
|
||||
uint32 flags,
|
||||
uint32 workspace = B_CURRENT_WORKSPACE)
|
||||
uint32 workspace)
|
||||
: BLooper( title )
|
||||
{
|
||||
InitData( frame, title, look, feel, flags, workspace );
|
||||
@ -244,7 +244,7 @@ BArchivable* BWindow::Instantiate(BMessage* data){
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
status_t BWindow::Archive(BMessage* data, bool deep = true) const{
|
||||
status_t BWindow::Archive(BMessage* data, bool deep) const{
|
||||
|
||||
status_t retval;
|
||||
|
||||
@ -332,7 +332,7 @@ void BWindow::Quit(){
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
void BWindow::AddChild(BView *child, BView *before = NULL){
|
||||
void BWindow::AddChild(BView *child, BView *before){
|
||||
top_view->AddChild( child, before );
|
||||
}
|
||||
|
||||
@ -867,7 +867,7 @@ void BWindow::DispatchMessage(BMessage *msg, BHandler *target)
|
||||
break;}
|
||||
}
|
||||
Flush();
|
||||
}
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@ -1202,7 +1202,7 @@ BView* BWindow::CurrentFocus() const{
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
void BWindow::Activate(bool active = true){
|
||||
void BWindow::Activate(bool active){
|
||||
if (IsHidden())
|
||||
return;
|
||||
|
||||
@ -2139,7 +2139,7 @@ void BWindow::task_looper(){
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
BMessage* BWindow::ReadMessageFromPort(bigtime_t tout = B_INFINITE_TIMEOUT){
|
||||
BMessage* BWindow::ReadMessageFromPort(bigtime_t tout){
|
||||
int32 msgcode;
|
||||
BMessage* msg;
|
||||
uint8* msgbuffer;
|
||||
@ -2157,7 +2157,7 @@ BMessage* BWindow::ReadMessageFromPort(bigtime_t tout = B_INFINITE_TIMEOUT){
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
uint8* BWindow::ReadRawFromPort(int32* code, bigtime_t tout = B_INFINITE_TIMEOUT){
|
||||
uint8* BWindow::ReadRawFromPort(int32* code, bigtime_t tout){
|
||||
|
||||
uint8* msgbuffer = NULL;
|
||||
ssize_t buffersize;
|
||||
|
Loading…
Reference in New Issue
Block a user