]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/bmpbuttn.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / gtk / bmpbuttn.h
index 47ee62fc2b81cf3308fdb253eda3a856b21bcd9a..a0a17b3ac091472da5616925e1c78b184a7ee8b7 100644 (file)
@@ -41,7 +41,8 @@ public:
                 const wxString& name = wxButtonNameStr)
     {
         if ( !wxBitmapButtonBase::Create(parent, id, "",
-                                         pos, size, style,
+                                         pos, size,
+                                         style | wxBU_NOTEXT,
                                          validator, name) )
             return false;