X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..7ca4ac63835adef8226b655013a8a84b416c8171:/samples/db/dbtest.cpp?ds=sidebyside diff --git a/samples/db/dbtest.cpp b/samples/db/dbtest.cpp index 805976759f..f54a13bcf6 100644 --- a/samples/db/dbtest.cpp +++ b/samples/db/dbtest.cpp @@ -2919,7 +2919,7 @@ m_pImage(NULL) if(m_pImage->Ok()) { - m_pBmp = new wxBitmap(m_pImage); + m_pBmp = new wxBitmap(*m_pImage); m_pDisplayBmp = new wxStaticBitmap(this, IMAGE_DIALOG_STATIC_BMP, *m_pBmp, wxPoint(5,5), wxDefaultSize); SetSize(m_pBmp->GetWidth() + 10, m_pBmp->GetHeight() + 30);