projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update header control when wxPropertyGridManager is resized.
[wxWidgets.git]
/
src
/
gtk1
/
statline.cpp
diff --git
a/src/gtk1/statline.cpp
b/src/gtk1/statline.cpp
index d4299aa62ebfe87f1d0e11fe552757a38e968bd4..ae6aa2dfeddf9040cbb6dddc67b82b04c03bd738 100644
(file)
--- a/
src/gtk1/statline.cpp
+++ b/
src/gtk1/statline.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: statline.cpp
+// Name: s
rc/gtk1/s
tatline.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Purpose:
// Author: Robert Roebling
// Id: $Id$
@@
-7,10
+7,6
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "statline.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
@@
-25,8
+21,6
@@
// wxStaticLine
//-----------------------------------------------------------------------------
// wxStaticLine
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
-
wxStaticLine::wxStaticLine()
{
}
wxStaticLine::wxStaticLine()
{
}
@@
-74,11
+68,16
@@
bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
m_parent->DoAddChild( this );
m_parent->DoAddChild( this );
- PostCreation();
-
- Show( TRUE );
+ PostCreation(size);
return TRUE;
}
return TRUE;
}
+// static
+wxVisualAttributes
+wxStaticLine::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+ return GetDefaultAttributesFromGTKWidget(gtk_vseparator_new);
+}
+
#endif
#endif