projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't reset bullet number and outline number when applying style sheet.
[wxWidgets.git]
/
src
/
gtk
/
statline.cpp
diff --git
a/src/gtk/statline.cpp
b/src/gtk/statline.cpp
index 522d3bc8a35176c0fc706f33cd19011f5b78ef3a..9cb487fb6ad4d5a6ae4951cbdd84a38885b8b611 100644
(file)
--- a/
src/gtk/statline.cpp
+++ b/
src/gtk/statline.cpp
@@
-4,13
+4,9
@@
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWi
dget
s licence
+// Licence: wxWi
ndow
s 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"
@@
-42,8
+38,6
@@
bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
const wxPoint &pos, const wxSize &size,
long style, const wxString &name )
{
const wxPoint &pos, const wxSize &size,
long style, const wxString &name )
{
- m_needParent = TRUE;
-
if (!PreCreation( parent, pos, size ) ||
!CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
{
if (!PreCreation( parent, pos, size ) ||
!CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
{
@@
-71,6
+65,7
@@
bool wxStaticLine::Create( wxWindow *parent, wxWindowID id,
SetSize( new_size );
}
}
SetSize( new_size );
}
}
+ g_object_ref(m_widget);
m_parent->DoAddChild( this );
m_parent->DoAddChild( this );