]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statline.cpp
only use tool window style for floating windows, no modal dialog class (layer problems)
[wxWidgets.git] / src / generic / statline.cpp
index f6872ff56a8fdec9607160401a94da4dc0e96e3e..964385982f45ed34a142b25c3e45820f73fedd39 100644 (file)
@@ -55,7 +55,13 @@ bool wxStaticLine::Create( wxWindow *parent,
 
     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;
 }
+
+
+WXWidget wxStaticLine::GetMainWidget() const
+{
+    return m_statbox->GetMainWidget();
+}