2005-01-25 John Luke <john.luke@gmail.com>
* sample/CustomNotebook.cs: * sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid obsolete warning svn path=/trunk/gtk-sharp/; revision=39528
This commit is contained in:
parent
a9ecebce8f
commit
f2343fbb71
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-01-25 John Luke <john.luke@gmail.com>
|
||||
|
||||
* sample/CustomNotebook.cs:
|
||||
* sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid
|
||||
obsolete warning
|
||||
|
||||
2005-01-25 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gnome/About.custom : implement a subclassable ctor.
|
||||
|
|
|
@ -263,7 +263,7 @@ class CustomNotebook : Container {
|
|||
tabHBorder = 2;
|
||||
tabVBorder = 2;
|
||||
|
||||
Flags |= (int)WidgetFlags.NoWindow;
|
||||
WidgetFlags |= WidgetFlags.NoWindow;
|
||||
}
|
||||
|
||||
public void AppendPage (Widget child, string label)
|
||||
|
@ -422,7 +422,7 @@ class CustomNotebook : Container {
|
|||
|
||||
protected override void OnRealized ()
|
||||
{
|
||||
Flags |= (int)WidgetFlags.Realized;
|
||||
WidgetFlags |= WidgetFlags.Realized;
|
||||
|
||||
GdkWindow = ParentWindow;
|
||||
Style = Style.Attach (GdkWindow);
|
||||
|
|
|
@ -54,7 +54,7 @@ class CustomWidget : Bin {
|
|||
layout = null;
|
||||
stockid = Stock.Execute;
|
||||
|
||||
Flags |= (int)WidgetFlags.NoWindow;
|
||||
WidgetFlags |= WidgetFlags.NoWindow;
|
||||
}
|
||||
|
||||
private Gdk.Pixbuf Icon {
|
||||
|
@ -137,7 +137,7 @@ class CustomWidget : Bin {
|
|||
|
||||
protected override void OnRealized ()
|
||||
{
|
||||
Flags |= (int)WidgetFlags.Realized;
|
||||
WidgetFlags |= WidgetFlags.Realized;
|
||||
|
||||
GdkWindow = ParentWindow;
|
||||
Style = Style.Attach (GdkWindow);
|
||||
|
|
Loading…
Reference in a new issue