]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/bmpbuttn.h
support retina display
[wxWidgets.git] / include / wx / gtk / bmpbuttn.h
index 47ee62fc2b81cf3308fdb253eda3a856b21bcd9a..15966f3f4104efc39af4dadd6eac87dcdf50cbb8 100644 (file)
@@ -38,18 +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,
-                                         validator, name) )
-            return false;
-
-        SetBitmapLabel(bitmap);
-
-        return true;
-    }
+                const wxString& name = wxButtonNameStr);
 
 
+private:
     DECLARE_DYNAMIC_CLASS(wxBitmapButton)
 };
 
     DECLARE_DYNAMIC_CLASS(wxBitmapButton)
 };