]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/resource.cpp
Don't try to translate empty strings (just a cosmetical issue - it should
[wxWidgets.git] / src / common / resource.cpp
index 98b983adf0e1587c51277cad63ccba3b1717670c..b162f9abcc50402cff585fcc53c148f72c46fd25 100644 (file)
@@ -337,7 +337,7 @@ wxControl *wxResourceTable::CreateItem(wxWindow *parent, const wxItemResource* c
           }
           if (bitmap.Ok())
            control = new wxBitmapButton(parent, id, bitmap, pos, size,
-               childResource->GetStyle(), wxDefaultValidator, childResource->GetName());
+               childResource->GetStyle() | wxBU_AUTODRAW, wxDefaultValidator, childResource->GetName());
         }
         else
           // Normal, text button