From eb3efe0d4b8a0964cd0504a69c0e9540c18e390c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 16 Feb 2006 14:12:02 +0000 Subject: [PATCH] compilation fix after removing wxImage(wxImage *) ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/db/dbtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);