fix for crash on 64 bit platforms (patch 1028942)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-09-16 22:34:09 +00:00
parent d6e6a35c80
commit e1ff932979
5 changed files with 7 additions and 6 deletions

View File

@@ -258,6 +258,7 @@ wxGTK:
- implemented alpha channel support in wxBitmap - implemented alpha channel support in wxBitmap
- added native GTK+2 wxArtProvider implementation with ability to load - added native GTK+2 wxArtProvider implementation with ability to load
icons from icon theme in addition to recognized stock art icons from icon theme in addition to recognized stock art
- fixed crash on 64 bit platforms (Paul Cornett)
wxMotif: wxMotif:

View File

@@ -82,7 +82,7 @@ struct _GtkPizzaClass
GtkAdjustment *vadjustment); GtkAdjustment *vadjustment);
}; };
guint gtk_pizza_get_type (void); GtkType gtk_pizza_get_type (void);
GtkWidget* gtk_pizza_new (void); GtkWidget* gtk_pizza_new (void);
void gtk_pizza_set_shadow_type (GtkPizza *pizza, void gtk_pizza_set_shadow_type (GtkPizza *pizza,

View File

@@ -82,7 +82,7 @@ struct _GtkPizzaClass
GtkAdjustment *vadjustment); GtkAdjustment *vadjustment);
}; };
guint gtk_pizza_get_type (void); GtkType gtk_pizza_get_type (void);
GtkWidget* gtk_pizza_new (void); GtkWidget* gtk_pizza_new (void);
void gtk_pizza_set_shadow_type (GtkPizza *pizza, void gtk_pizza_set_shadow_type (GtkPizza *pizza,

View File

@@ -104,10 +104,10 @@ static GtkContainerClass *pizza_parent_class = NULL;
static gboolean gravity_works; static gboolean gravity_works;
guint GtkType
gtk_pizza_get_type () gtk_pizza_get_type ()
{ {
static guint pizza_type = 0; static GtkType pizza_type = 0;
if (!pizza_type) if (!pizza_type)
{ {

View File

@@ -104,10 +104,10 @@ static GtkContainerClass *pizza_parent_class = NULL;
static gboolean gravity_works; static gboolean gravity_works;
guint GtkType
gtk_pizza_get_type () gtk_pizza_get_type ()
{ {
static guint pizza_type = 0; static GtkType pizza_type = 0;
if (!pizza_type) if (!pizza_type)
{ {