]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/bmpbuttn.cpp
Add more checks for Intel compiler.
[wxWidgets.git] / src / gtk / bmpbuttn.cpp
index a3df929f8dccf49afaff1f3ea63587254973979e..cf429bd2fe9c3ab7468e96378e19d2141a5ab462 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        src/gtk/bmpbuttn.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -14,8 +13,6 @@
 
 #include "wx/bmpbuttn.h"
 
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton)
-
 bool wxBitmapButton::Create(wxWindow *parent,
                             wxWindowID id,
                             const wxBitmap& bitmap,
@@ -25,9 +22,7 @@ bool wxBitmapButton::Create(wxWindow *parent,
                             const wxValidator& validator,
                             const wxString& name)
 {
-    if ( !wxBitmapButtonBase::Create(parent, id, "",
-                                     pos, size,
-                                     style | wxBU_NOTEXT,
+    if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style,
                                      validator, name) )
         return false;