]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_bmpbt.cpp
Events table serves for RTTI too.
[wxWidgets.git] / src / xrc / xh_bmpbt.cpp
index 5a5d87e3c006a9c516e4b8c8acb7bba680cdc86e..b102618c1366fbdb37ed4a2fc80c036f3acff9b8 100644 (file)
@@ -44,7 +44,7 @@ wxObject *wxBitmapButtonXmlHandler::DoCreateResource()
 
     button->Create(m_parentAsWindow,
                    GetID(),
-                   GetBitmap(wxT("bitmap")),
+                   GetBitmap(wxT("bitmap"), wxART_BUTTON),
                    GetPosition(), GetSize(),
                    GetStyle(wxT("style"), wxBU_AUTODRAW),
                    wxDefaultValidator,