]> git.saurik.com Git - wxWidgets.git/commitdiff
remove obsolete comment moved to wxBitmapButtonBase
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Jun 2009 21:49:48 +0000 (21:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Jun 2009 21:49:48 +0000 (21:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/bmpbuttn.cpp

index a99810f993b845a6f2088c984c7346792f64a408..f6d2ee2e6e296ec00972b0d8668c84e332eeee0c 100644 (file)
@@ -25,14 +25,6 @@ bool wxBitmapButton::Create(wxWindow *parent,
                             const wxValidator& validator,
                             const wxString& name)
 {
                             const wxValidator& validator,
                             const wxString& name)
 {
-    // we use wxBU_NOTEXT to let the base class Create() know that we are not
-    // going to show the label -- this is a hack, but like this it can support
-    // bitmaps with all GTK+ versions, not just 2.6+ which support both labels
-    // and bitmaps
-    //
-    // and we also use wxBU_EXACTFIT to avoid being resized up to the standard
-    // button size as this doesn't make sense for bitmap buttons which are not
-    // standard anyhow
     if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style,
                                      validator, name) )
         return false;
     if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style,
                                      validator, name) )
         return false;