gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-03-11 02:13:30 +00:00
parent e72ac08291
commit 1de1196ab3
11 changed files with 76 additions and 84 deletions

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: statline.h
// Name: wx/gtk/statline.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
@@ -12,47 +12,43 @@
#define __GTKSTATICLINEH__
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#pragma interface "statline.h"
#endif
#include "wx/defs.h"
#if wxUSE_STATLINE
#include "wx/object.h"
#include "wx/list.h"
#include "wx/control.h"
//-----------------------------------------------------------------------------
// classes
//-----------------------------------------------------------------------------
class wxStaticLine;
//-----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxStaticLine
//-----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
class wxStaticLine : public wxStaticLineBase
{
DECLARE_DYNAMIC_CLASS(wxStaticLine)
public:
wxStaticLine();
wxStaticLine( wxWindow *parent, wxWindowID id,
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
long style = wxLI_HORIZONTAL, const wxString &name = wxStaticTextNameStr );
bool Create( wxWindow *parent, wxWindowID id,
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
long style = wxLI_HORIZONTAL, const wxString &name = wxStaticTextNameStr );
wxStaticLine(wxWindow *parent,
wxWindowID id = wxID_ANY,
const wxPoint &pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxLI_HORIZONTAL,
const wxString &name = wxStaticTextNameStr);
bool Create(wxWindow *parent,
wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxLI_HORIZONTAL,
const wxString &name = wxStaticTextNameStr);
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
private:
DECLARE_DYNAMIC_CLASS(wxStaticLine)
};
#endif
// wxUSE_STATLINE
#endif
// __GTKSTATICLINEH__
#endif // wxUSE_STATLINE
#endif // __GTKSTATICLINEH__