]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpbuttn.h
don't try to refresh the menu bar before showing it, fixes crash on startup with...
[wxWidgets.git] / include / wx / bmpbuttn.h
index 4b23b568c26d321a54d59af6ee7d8b7e379c6788..7c1ad834fd4e4d8477b99906bea5c107268cfa7a 100644 (file)
@@ -69,6 +69,10 @@ protected:
     // the margins around the bitmap
     int m_marginX,
         m_marginY;
+private:
+    // Prevent Virtual function hiding warnings
+    void SetLabel(const wxString& rsLabel)
+    { wxWindowBase::SetLabel(rsLabel); }
 };
 
 #if defined(__WXUNIVERSAL__)