]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/bmpbuttn_osx.cpp
Fix numpad Del not working in wxRTC
[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 )