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:
haydentech 2003-06-03 18:42:22 +00:00
parent d2a9d5e5fe
commit 40ceba30d6
5 changed files with 13 additions and 13 deletions

View File

@ -27,9 +27,9 @@
// Standard Includes ----------------------------------------------------------- // Standard Includes -----------------------------------------------------------
// System Includes ------------------------------------------------------------- // System Includes -------------------------------------------------------------
#include "Menu.h" #include <Menu.h>
#include "MenuItem.h" #include <MenuItem.h>
#include "Window.h" #include <Window.h>
#include <PropertyInfo.h> #include <PropertyInfo.h>
#include <Errors.h> #include <Errors.h>
#include <File.h> #include <File.h>

View File

@ -25,6 +25,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// Standard Includes ----------------------------------------------------------- // Standard Includes -----------------------------------------------------------
#include <string.h>
// System Includes ------------------------------------------------------------- // System Includes -------------------------------------------------------------
#include <Polygon.h> #include <Polygon.h>

View File

@ -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); return BControl::Invoke(msg);
} }

View File

@ -28,7 +28,6 @@
#include <Message.h> #include <Message.h>
#include <Bitmap.h> #include <Bitmap.h>
#include <Cursor.h> #include <Cursor.h>
#include <Message.h>
#include <Picture.h> #include <Picture.h>
#include <Polygon.h> #include <Polygon.h>
#include <Region.h> #include <Region.h>

View File

@ -123,7 +123,7 @@ BWindow::BWindow(BRect frame,
const char* title, const char* title,
window_type type, window_type type,
uint32 flags, uint32 flags,
uint32 workspace = B_CURRENT_WORKSPACE) uint32 workspace)
: BLooper( title ) : BLooper( title )
{ {
window_look look; window_look look;
@ -141,7 +141,7 @@ BWindow::BWindow(BRect frame,
window_look look, window_look look,
window_feel feel, window_feel feel,
uint32 flags, uint32 flags,
uint32 workspace = B_CURRENT_WORKSPACE) uint32 workspace)
: BLooper( title ) : BLooper( title )
{ {
InitData( frame, title, look, feel, flags, workspace ); 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; 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 ); top_view->AddChild( child, before );
} }
@ -867,7 +867,7 @@ void BWindow::DispatchMessage(BMessage *msg, BHandler *target)
break;} break;}
} }
Flush(); Flush();
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@ -1202,7 +1202,7 @@ BView* BWindow::CurrentFocus() const{
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
void BWindow::Activate(bool active = true){ void BWindow::Activate(bool active){
if (IsHidden()) if (IsHidden())
return; 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; int32 msgcode;
BMessage* msg; BMessage* msg;
uint8* msgbuffer; 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; uint8* msgbuffer = NULL;
ssize_t buffersize; ssize_t buffersize;