projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Jed Burgess that optionally allows the grid to notify when
[wxWidgets.git]
/
include
/
wx
/
univ
/
statbox.h
diff --git
a/include/wx/univ/statbox.h
b/include/wx/univ/statbox.h
index 83f0a4f9cc7c33adfc485a31e61ca16d3d61ad71..cdc8223bdc65bd947bde868e46252c71b9ae2ad9 100644
(file)
--- a/
include/wx/univ/statbox.h
+++ b/
include/wx/univ/statbox.h
@@
-6,7
+6,7
@@
// Created: 15.08.00
// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
// Created: 15.08.00
// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence: wxWi
dget
s licence
+// Licence: wxWi
ndow
s licence
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_UNIV_STATBOX_H_
///////////////////////////////////////////////////////////////////////////////
#ifndef _WX_UNIV_STATBOX_H_
@@
-26,7
+26,7
@@
public:
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize)
{
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize)
{
- Create(parent,
-1
, label, pos, size);
+ Create(parent,
wxID_ANY
, label, pos, size);
}
wxStaticBox(wxWindow *parent, wxWindowID id,
}
wxStaticBox(wxWindow *parent, wxWindowID id,
@@
-51,7
+51,7
@@
public:
// take account of this
virtual wxPoint GetBoxAreaOrigin() const;
// take account of this
virtual wxPoint GetBoxAreaOrigin() const;
- virtual bool HasTransparentBackground() { return
TRUE
; }
+ virtual bool HasTransparentBackground() { return
true
; }
protected:
// draw the control
protected:
// draw the control
@@
-60,9
+60,9
@@
protected:
// get the size of the border
wxRect GetBorderGeometry() const;
// get the size of the border
wxRect GetBorderGeometry() const;
- // returning
TRUE
from here ensures that we act as a container window for
+ // returning
true
from here ensures that we act as a container window for
// our children
// our children
- virtual bool IsStaticBox() const { return
TRUE
; }
+ virtual bool IsStaticBox() const { return
true
; }
private:
DECLARE_DYNAMIC_CLASS(wxStaticBox)
private:
DECLARE_DYNAMIC_CLASS(wxStaticBox)