]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/bmpbuttn_osx.cpp
always use wxBU_NOTEXT and wxBU_EXACTFIT for wxBitmapButton under all platforms ...
[wxWidgets.git] / src / osx / bmpbuttn_osx.cpp
index c79f4fd47c51582e1ffe61d869bb1c59f5539bc4..d22411f27ee8a54a7d5629035278874c583a033c 100644 (file)
@@ -37,8 +37,8 @@ bool wxBitmapButton::Create( wxWindow *parent,
 {
     m_macIsUserPane = false;
 
-    if ( !wxControl::Create( parent, id, pos, size, style | wxBU_NOTEXT,
-                             validator, name ) )
+    if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style,
+                                     validator, name) )
         return false;
 
     if ( style & wxBU_AUTODRAW )