]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statline.cpp
ping method almost there
[wxWidgets.git] / src / generic / statline.cpp
index 21ad8938524f9b29ffbf05684c485deef18698ee..31bbdec49ed4c37687e7a37d19df5d66f315c546 100644 (file)
@@ -47,7 +47,7 @@ bool wxStaticLine::Create( wxWindow *parent,
                            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
@@ -59,3 +59,9 @@ bool wxStaticLine::Create( wxWindow *parent,
 
     return TRUE;
 }
+
+
+WXWidget wxStaticLine::GetMainWidget() const
+{
+    return m_statbox->GetMainWidget();
+}