projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adding explicit log.h include
[wxWidgets.git]
/
src
/
gtk
/
gauge.cpp
diff --git
a/src/gtk/gauge.cpp
b/src/gtk/gauge.cpp
index aaa124506cabbb677509cb9c73f52c164a3d83df..2d299229385a1fa3052e46cac5bdc21487bb60a2 100644
(file)
--- a/
src/gtk/gauge.cpp
+++ b/
src/gtk/gauge.cpp
@@
-41,6
+41,7
@@
bool wxGauge::Create( wxWindow *parent,
m_rangeMax = range;
m_widget = gtk_progress_bar_new();
+ g_object_ref(m_widget);
if ( style & wxGA_VERTICAL )
{
gtk_progress_bar_set_orientation( GTK_PROGRESS_BAR(m_widget),