]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/anybutton.cpp
Set missing Language: headers in PO files.
[wxWidgets.git] / src / gtk / anybutton.cpp
index 169bd1a41529d9ea54f9c3e8c194a22be230c203..d64948f55e3ad75dfaee7476cc266dbe1167ea46 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:
 // Author:      Robert Roebling
 // Created:     1998-05-20 (extracted from button.cpp)
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -95,7 +94,7 @@ GdkWindow *wxAnyButton::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
 wxVisualAttributes
 wxAnyButton::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
 {
-    return GetDefaultAttributesFromGTKWidget(gtk_button_new);
+    return GetDefaultAttributesFromGTKWidget(gtk_button_new());
 }
 
 // ----------------------------------------------------------------------------
@@ -178,9 +177,7 @@ void wxAnyButton::GTKDoShowBitmap(const wxBitmap& bitmap)
     }
     else // have both label and bitmap
     {
-        {
-            image = gtk_button_get_image(GTK_BUTTON(m_widget));
-        }
+        image = gtk_button_get_image(GTK_BUTTON(m_widget));
     }
 
     wxCHECK_RET( image && GTK_IS_IMAGE(image), "must have image widget" );