projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleaning up toolbar mess for os/2
[wxWidgets.git]
/
src
/
generic
/
statline.cpp
diff --git
a/src/generic/statline.cpp
b/src/generic/statline.cpp
index 21ad8938524f9b29ffbf05684c485deef18698ee..964385982f45ed34a142b25c3e45820f73fedd39 100644
(file)
--- a/
src/generic/statline.cpp
+++ b/
src/generic/statline.cpp
@@
-47,7
+47,7
@@
bool wxStaticLine::Create( wxWindow *parent,
long style,
const wxString &name)
{
long style,
const wxString &name)
{
- if ( !CreateBase(parent, id, pos, size, style, name) )
+ if ( !CreateBase(parent, id, pos, size, style,
wxDefaultValidator,
name) )
return FALSE;
// ok, this is ugly but it's better than nothing: use a thin static box to
return FALSE;
// ok, this is ugly but it's better than nothing: use a thin static box to
@@
-55,7
+55,13
@@
bool wxStaticLine::Create( wxWindow *parent,
wxSize sizeReal = AdjustSize(size);
wxSize sizeReal = AdjustSize(size);
- m_statbox = new wxStaticBox(parent, id,
_
T(""), pos, sizeReal, style, name);
+ m_statbox = new wxStaticBox(parent, id,
wx
T(""), pos, sizeReal, style, name);
return TRUE;
}
return TRUE;
}
+
+
+WXWidget wxStaticLine::GetMainWidget() const
+{
+ return m_statbox->GetMainWidget();
+}