Headers cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-10-17 14:44:52 +00:00
parent 082cfe55b9
commit 1b88201ff5
49 changed files with 371 additions and 354 deletions

View File

@@ -4,7 +4,7 @@
// Author: David Elliott // Author: David Elliott
// Modified by: // Modified by:
// Created: 2003/02/15 // Created: 2003/02/15
// RCS-ID: $Id: // RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott // Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence // Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
@@ -65,4 +65,5 @@ public:
virtual ~wxCocoaNSView() { } virtual ~wxCocoaNSView() { }
}; };
#endif // _WX_COCOA_NSVIEW_H_ #endif
// __WX_COCOA_NSVIEW_H__

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: include/wx/cocoa/bitmap.h // Name: wx/cocoa/bitmap.h
// Purpose: wxBitmap class // Purpose: wxBitmap class
// Author: David Elliott // Author: David Elliott
// Modified by: // Modified by:
@@ -155,4 +155,5 @@ class WXDLLIMPEXP_CORE wxBitmapHandler: public wxBitmapHandlerBase
DECLARE_ABSTRACT_CLASS(wxBitmapHandler) DECLARE_ABSTRACT_CLASS(wxBitmapHandler)
}; };
#endif // __WX_COCOA_BITMAP_H__ #endif
// __WX_COCOA_BITMAP_H__

View File

@@ -4,7 +4,7 @@
// Author: David Elliott // Author: David Elliott
// Modified by: // Modified by:
// Created: 2002/12/29 // Created: 2002/12/29
// RCS-ID: $Id: // RCS-ID: $Id$
// Copyright: (c) 2002 David Elliott // Copyright: (c) 2002 David Elliott
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
@@ -61,4 +61,5 @@ public:
wxSize DoGetBestSize() const; wxSize DoGetBestSize() const;
}; };
#endif // __WX_COCOA_BUTTON_H__ #endif
// __WX_COCOA_BUTTON_H__

View File

@@ -4,7 +4,7 @@
// Author: David Elliott // Author: David Elliott
// Modified by: // Modified by:
// Created: 2003/02/15 // Created: 2003/02/15
// RCS-ID: $Id: // RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott // Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
@@ -65,4 +65,5 @@ protected:
virtual wxSize DoGetBestSize() const; virtual wxSize DoGetBestSize() const;
}; };
#endif // __WX_COCOA_CONTROL_H__ #endif
// __WX_COCOA_CONTROL_H__

View File

@@ -1,10 +1,10 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: cursor.h // Name: wx/cocoa/cursor.h
// Purpose: wxCursor class // Purpose: wxCursor class
// Author: David Elliott <dfe@cox.net> // Author: David Elliott <dfe@cox.net>
// Modified by: // Modified by:
// Created: 2002/11/27 // Created: 2002/11/27
// RCS-ID: // RCS-ID: $Id$
// Copyright: (c) David Elliott // Copyright: (c) David Elliott
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
@@ -64,4 +64,5 @@ public:
extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor); extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor);
#endif // _WX_COCOA_CURSOR_H_ #endif
// _WX_COCOA_CURSOR_H_

View File

@@ -66,4 +66,5 @@ protected:
virtual bool CocoaUnlockFocus(); virtual bool CocoaUnlockFocus();
}; };
#endif // __WX_COCOA_DCCLIENT_H__ #endif
// __WX_COCOA_DCCLIENT_H__

View File

@@ -36,4 +36,5 @@ protected:
int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask); int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask);
}; };
#endif // __WX_COCOA_DCMEMORY_H__ #endif
// __WX_COCOA_DCMEMORY_H__

View File

@@ -70,4 +70,5 @@ protected:
virtual wxSize DoGetBestSize() const; virtual wxSize DoGetBestSize() const;
}; };
#endif // __WX_COCOA_GAUGE_H__ #endif
// __WX_COCOA_GAUGE_H__

View File

@@ -58,4 +58,5 @@ public:
bool CreateFromXpm(const char **bits); bool CreateFromXpm(const char **bits);
}; };
#endif // _WX_COCOA_ICON_H__ #endif
// _WX_COCOA_ICON_H__

View File

@@ -68,4 +68,5 @@ public:
{ return *(wxRegionIterator*)&(this->wxRegionIteratorGeneric::operator=(iter)); } { return *(wxRegionIterator*)&(this->wxRegionIteratorGeneric::operator=(iter)); }
}; };
#endif //ndef _WX_COCOA_REGION_H__ #endif
//ndef _WX_COCOA_REGION_H__

View File

@@ -71,4 +71,5 @@ protected:
int m_pageSize; int m_pageSize;
}; };
#endif // _WX_COCOA_SCROLBAR_H__ #endif
// _WX_COCOA_SCROLBAR_H__

View File

@@ -79,4 +79,5 @@ public:
}; };
#endif // __WX_COCOA_SLIDER_H__ #endif
// __WX_COCOA_SLIDER_H__

View File

@@ -27,7 +27,7 @@ class WXDLLEXPORT wxSpinButton: public wxSpinButtonBase// , protected wxCocoaNSS
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
public: public:
wxSpinButton() { } wxSpinButton() { }
wxSpinButton(wxWindow *parent, wxWindowID winid = -1, wxSpinButton(wxWindow *parent, wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
long style = wxSP_VERTICAL | wxSP_ARROW_KEYS, long style = wxSP_VERTICAL | wxSP_ARROW_KEYS,
@@ -36,7 +36,7 @@ public:
Create(parent, winid, pos, size, style, name); Create(parent, winid, pos, size, style, name);
} }
bool Create(wxWindow *parent, wxWindowID winid = -1, bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, const wxSize& size = wxDefaultSize,
long style = wxSP_HORIZONTAL, long style = wxSP_HORIZONTAL,
@@ -60,4 +60,5 @@ public:
virtual void SetRange(int minValue, int maxValue); virtual void SetRange(int minValue, int maxValue);
}; };
#endif // __WX_COCOA_SPINBUTT_H__ #endif
// __WX_COCOA_SPINBUTT_H__

View File

@@ -4,7 +4,7 @@
// Author: David Elliott // Author: David Elliott
// Modified by: // Modified by:
// Created: 2003/02/15 // Created: 2003/02/15
// RCS-ID: $Id: // RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott // Copyright: (c) 2003 David Elliott
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
@@ -55,4 +55,5 @@ public:
void SetLabel(const wxString& label); void SetLabel(const wxString& label);
}; };
#endif // __WX_COCOA_STATTEXT_H__ #endif
// __WX_COCOA_STATTEXT_H__

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: gauge.h // Name: wx/gtk/gauge.h
// Purpose: // Purpose:
// Author: Robert Roebling // Author: Robert Roebling
// Id: $Id$ // Id: $Id$
@@ -83,4 +83,5 @@ private:
DECLARE_DYNAMIC_CLASS(wxGauge) DECLARE_DYNAMIC_CLASS(wxGauge)
}; };
#endif // _WX_GTK_GAUGE_H_ #endif
// _WX_GTK_GAUGE_H_

View File

@@ -106,4 +106,5 @@ private:
DECLARE_DYNAMIC_CLASS(wxMenu) DECLARE_DYNAMIC_CLASS(wxMenu)
}; };
#endif // __GTKMENUH__ #endif
// __GTKMENUH__

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: stattext.h // Name: wx/gtk/stattext.h
// Purpose: // Purpose:
// Author: Robert Roebling // Author: Robert Roebling
// Id: $Id$ // Id: $Id$
@@ -62,4 +62,5 @@ protected:
DECLARE_DYNAMIC_CLASS(wxStaticText) DECLARE_DYNAMIC_CLASS(wxStaticText)
}; };
#endif // _WX_GTK_STATTEXT_H_ #endif
// _WX_GTK_STATTEXT_H_

View File

@@ -99,4 +99,5 @@ private:
#endif #endif
#endif // __GTKGAUGEH__ #endif
// __GTKGAUGEH__

View File

@@ -97,4 +97,5 @@ private:
DECLARE_DYNAMIC_CLASS(wxMenu) DECLARE_DYNAMIC_CLASS(wxMenu)
}; };
#endif // __GTKMENUH__ #endif
// __GTKMENUH__

View File

@@ -74,4 +74,5 @@ protected:
DECLARE_DYNAMIC_CLASS(wxStaticText) DECLARE_DYNAMIC_CLASS(wxStaticText)
}; };
#endif // __GTKSTATICTEXTH__ #endif
// __GTKSTATICTEXTH__

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: webkit.h // Name: wx/html/webkit.h
// Purpose: wxWebKitCtrl - embeddable web kit control // Purpose: wxWebKitCtrl - embeddable web kit control
// Author: Jethro Grassie / Kevin Ollivier // Author: Jethro Grassie / Kevin Ollivier
// Modified by: // Modified by:
@@ -129,4 +129,5 @@ END_DECLARE_EVENT_TYPES()
#endif // wxUSE_WEBKIT #endif // wxUSE_WEBKIT
#endif // _WX_WEBKIT_H_ #endif
// _WX_WEBKIT_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: cursor.h // Name: wx/mac/carbon/cursor.h
// Purpose: wxCursor class // Purpose: wxCursor class
// Author: Stefan Csomor // Author: Stefan Csomor
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Name: dnd.h // Name: wx/mac/carbon/dnd.h
// Purpose: Declaration of the wxDropTarget, wxDropSource class etc. // Purpose: Declaration of the wxDropTarget, wxDropSource class etc.
// Author: Stefan Csomor // Author: Stefan Csomor
// RCS-ID: $Id$ // RCS-ID: $Id$
@@ -102,9 +102,7 @@ public:
void* m_currentDrag ; void* m_currentDrag ;
}; };
#endif #endif // wxUSE_DRAG_AND_DROP
// D&D
#endif #endif
//_WX_DND_H_ //_WX_DND_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: drawer.h // Name: wx/mac/carbon/drawer.h
// Purpose: Drawer child window class. // Purpose: Drawer child window class.
// Drawer windows appear under their parent window and // Drawer windows appear under their parent window and
// behave like a drawer, opening and closing to reveal // behave like a drawer, opening and closing to reveal
@@ -67,4 +67,5 @@ public:
#endif // defined( __WXMAC__ ) && TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 ) #endif // defined( __WXMAC__ ) && TARGET_API_MAC_OSX && ( MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_2 )
#endif // _WX_DRAWERWINDOW_H_ #endif
// _WX_DRAWERWINDOW_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: fontdlg.h // Name: wx/mac/carbon/fontdlg.h
// Purpose: wxFontDialog class using fonts window services (10.2+). // Purpose: wxFontDialog class using fonts window services (10.2+).
// Author: Ryan Norton // Author: Ryan Norton
// Modified by: // Modified by:
@@ -164,4 +164,3 @@ protected:
#endif #endif
// _WX_FONTDLG_H_ // _WX_FONTDLG_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: wx/mac/mimetype.h // Name: wx/mac/carbon/mimetype.h
// Purpose: Mac Carbon implementation for wx mime-related classes // Purpose: Mac Carbon implementation for wx mime-related classes
// Author: Ryan Norton // Author: Ryan Norton
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: toolbar.h // Name: wx/mac/carbon/toolbar.h
// Purpose: wxToolBar class // Purpose: wxToolBar class
// Author: Stefan Csomor // Author: Stefan Csomor
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: cursor.h // Name: wx/mac/classic/cursor.h
// Purpose: wxCursor class // Purpose: wxCursor class
// Author: Stefan Csomor // Author: Stefan Csomor
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Name: dnd.h // Name: wx/mac/classic/dnd.h
// Purpose: Declaration of the wxDropTarget, wxDropSource class etc. // Purpose: Declaration of the wxDropTarget, wxDropSource class etc.
// Author: Stefan Csomor // Author: Stefan Csomor
// RCS-ID: $Id$ // RCS-ID: $Id$
@@ -102,9 +102,7 @@ public:
void* m_currentDrag ; void* m_currentDrag ;
}; };
#endif #endif // wxUSE_DRAG_AND_DROP
// D&D
#endif #endif
//_WX_DND_H_ //_WX_DND_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: private.h // Name: wx/mac/classic/private.h
// Purpose: Private declarations: as this header is only included by // Purpose: Private declarations: as this header is only included by
// wxWidgets itself, it may contain identifiers which don't start // wxWidgets itself, it may contain identifiers which don't start
// with "wx". // with "wx".

View File

@@ -1,10 +1,10 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: print.h // Name: wx/mac/classic/private/print.h
// Purpose: private implementation for printing on MacOS // Purpose: private implementation for printing on MacOS
// Author: Stefan Csomor // Author: Stefan Csomor
// Modified by: // Modified by:
// Created: 03/02/99 // Created: 03/02/99
// RCS-ID: $Id: // RCS-ID: $Id$
// Copyright: (c) Stefan Csomor // Copyright: (c) Stefan Csomor
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
@@ -105,3 +105,4 @@ public :
#endif #endif
#endif #endif
// _WX_MAC_PRIVATE_PRINT_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// File: wx/mac/taskbarosx.h // File: wx/mac/classic/taskbarosx.h
// Purpose: Defines wxTaskBarIcon class for OSX // Purpose: Defines wxTaskBarIcon class for OSX
// Author: Ryan Norton // Author: Ryan Norton
// Modified by: // Modified by:

View File

@@ -112,4 +112,5 @@ public:
#endif //__DARWIN__ #endif //__DARWIN__
#endif //WX_MACCARBONHID_H #endif
// _WX_MACCARBONHID_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: helpxxxx.h // Name: wx/os2/helpwin.h
// Purpose: Help system: native implementation for your system. // Purpose: Help system: native implementation for your system.
// Author: David Webster // Author: David Webster
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: pnghand.h // Name: wx/os2/pnghand.h
// Purpose: PNG bitmap handler // Purpose: PNG bitmap handler
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:
@@ -39,4 +39,3 @@ public:
#endif #endif
// _WX_PNGHAND_H_ // _WX_PNGHAND_H_

View File

@@ -1,8 +1,9 @@
/* /*
* File: pngread.h * File: wx/os2/pngread.h
* Purpose: PNG file reader * Purpose: PNG file reader
* Author: Alejandro Aguilar Sierra/Julian Smart * Author: Alejandro Aguilar Sierra/Julian Smart
* Created: 1995 * Created: 1995
* RCS-ID: $Id$
* Copyright: (c) 1995, Alejandro Aguilar Sierra <asierra@servidor.unam.mx> * Copyright: (c) 1995, Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
* *
* *
@@ -284,4 +285,4 @@ inline bool wxPNGReaderIter::PrevStep()
} }
#endif #endif
// _WX_PNGREAD__

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: wx/richtext/richedithtml.h // Name: wx/richtext/richtexthtml.h
// Purpose: HTML I/O for wxRichTextCtrl // Purpose: HTML I/O for wxRichTextCtrl
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: joystick.h // Name: wx/unix/joystick.h
// Purpose: wxJoystick class // Purpose: wxJoystick class
// Author: Guilhem Lavaux // Author: Guilhem Lavaux
// Modified by: // Modified by:
@@ -93,4 +93,3 @@ protected:
#endif #endif
// __JOYSTICKH__ // __JOYSTICKH__

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: sound.h // Name: wx/unix/sound.h
// Purpose: wxSound class // Purpose: wxSound class
// Author: Julian Smart, Vaclav Slavik // Author: Julian Smart, Vaclav Slavik
// Modified by: // Modified by:
@@ -158,3 +158,4 @@ public:
#endif // wxUSE_SOUND #endif // wxUSE_SOUND
#endif #endif
// _WX_SOUND_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: cursor.h // Name: wx/x11/cursor.h
// Purpose: wxCursor class // Purpose: wxCursor class
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: dcprint.h // Name: wx/x11/dcprint.h
// Purpose: wxPrinterDC class // Purpose: wxPrinterDC class
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:
@@ -27,4 +27,3 @@ public:
#endif #endif
// _WX_DCPRINT_H_ // _WX_DCPRINT_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: dcscreen.h // Name: wx/x11/dcscreen.h
// Purpose: wxScreenDC class // Purpose: wxScreenDC class
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:
@@ -44,4 +44,3 @@ private:
#endif #endif
// _WX_DCSCREEN_H_ // _WX_DCSCREEN_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: font.h // Name: wx/x11/font.h
// Purpose: wxFont class // Purpose: wxFont class
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: joystick.h // Name: wx/x11/joystick.h
// Purpose: wxJoystick class // Purpose: wxJoystick class
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: minifram.h // Name: wx/x11/minifram.h
// Purpose: wxMiniFrame class. A small frame for e.g. floating toolbars. // Purpose: wxMiniFrame class. A small frame for e.g. floating toolbars.
// If there is no equivalent on your platform, just make it a // If there is no equivalent on your platform, just make it a
// normal frame. // normal frame.

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: print.h // Name: wx/x11/print.h
// Purpose: wxPrinter, wxPrintPreview classes // Purpose: wxPrinter, wxPrintPreview classes
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by: