]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statline.cpp
Don't do the wx cleanup if wxPython didn't do the initialization.
[wxWidgets.git] / src / generic / statline.cpp
index f6872ff56a8fdec9607160401a94da4dc0e96e3e..964385982f45ed34a142b25c3e45820f73fedd39 100644 (file)
@@ -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, wxT(""), pos, sizeReal, style, name);
 
     return TRUE;
 }
 
     return TRUE;
 }
+
+
+WXWidget wxStaticLine::GetMainWidget() const
+{
+    return m_statbox->GetMainWidget();
+}