]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/bmpbuttn.h
Applied rowspan patch #15276 (dghart)
[wxWidgets.git] / include / wx / gtk / bmpbuttn.h
index a0a17b3ac091472da5616925e1c78b184a7ee8b7..15966f3f4104efc39af4dadd6eac87dcdf50cbb8 100644 (file)
@@ -38,19 +38,9 @@ public:
                 const wxSize& size = wxDefaultSize,
                 long style = 0,
                 const wxValidator& validator = wxDefaultValidator,
                 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)
 };
 
     DECLARE_DYNAMIC_CLASS(wxBitmapButton)
 };