y_alignment = 1.0;
gtk_misc_set_alignment (GTK_MISC (BUTTON_CHILD (m_widget)),
- x_alignment, y_alignment);
-
+ x_alignment, y_alignment);
+
SetLabel( label );
if (style & wxNO_BORDER)
return TRUE;
}
+bool wxButton::IsOwnGtkWindow( GdkWindow *window )
+{
+#ifdef __WXGTK20__
+ return GTK_BUTTON(m_widget)->event_window;
+#else
+ return (window == m_widget->window);
+#endif
+}
+
void wxButton::ApplyWidgetStyle()
{
SetWidgetStyle();