]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/bmpbuttn.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / gtk / bmpbuttn.h
index a0a17b3ac091472da5616925e1c78b184a7ee8b7..f70e28ceb791cb6a5155d2a5029399e8e6323bcb 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        wx/gtk/bmpbutton.h
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $Id$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -38,19 +37,9 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = 0,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString& name = wxButtonNameStr)
-    {
-        if ( !wxBitmapButtonBase::Create(parent, id, "",
-                                         pos, size,
-                                         style | wxBU_NOTEXT,
-                                         validator, name) )
-            return false;
-
-        SetBitmapLabel(bitmap);
-
-        return true;
-    }
+                const wxString& name = wxButtonNameStr);
 
+private:
     DECLARE_DYNAMIC_CLASS(wxBitmapButton)
 };