git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3683
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
long style = wxLI_HORIZONTAL,
const wxString &name = wxStaticTextNameStr );
+ // it's necessary to override this wxWindow function because we
+ // will want to return the main widget for m_statbox
+ //
+ WXWidget GetMainWidget() const;
+
protected:
// we implement the static line using a static box
wxStaticBox *m_statbox;
return TRUE;
}
+
+
+WXWidget wxStaticLine::GetMainWidget() const
+{
+ return m_statbox->GetMainWidget();
+}