]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolwin.cpp
fixing RawBitmap access
[wxWidgets.git] / src / gtk / scrolwin.cpp
index 70a9298be2861dc66b2bdc7bd410361b5b0d9a51..001017f7313327cc422443925e16e674e9014fc0 100644 (file)
@@ -117,14 +117,14 @@ void wxScrollHelperNative::DoAdjustScrollbar(GtkAdjustment *adj,
             else
             {
                 // We need to actually scroll window
-                gtk_signal_emit_by_name( GTK_OBJECT(adj), "value_changed" );
+                g_signal_emit_by_name (adj, "value_changed");
             }
         }
     }
 
     *lines = (int)(adj->upper + 0.5);
     *linesPerPage = (int)(adj->page_increment + 0.5);
-    gtk_signal_emit_by_name( GTK_OBJECT(adj), "changed" );
+    g_signal_emit_by_name (adj, "changed");
 }
 
 void wxScrollHelperNative::AdjustScrollbars()