compilation fix after removing wxImage(wxImage *) ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-02-16 14:12:02 +00:00
parent 5985c07ce0
commit eb3efe0d4b

View File

@ -2919,7 +2919,7 @@ m_pImage(NULL)
if(m_pImage->Ok()) 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); m_pDisplayBmp = new wxStaticBitmap(this, IMAGE_DIALOG_STATIC_BMP, *m_pBmp, wxPoint(5,5), wxDefaultSize);
SetSize(m_pBmp->GetWidth() + 10, m_pBmp->GetHeight() + 30); SetSize(m_pBmp->GetWidth() + 10, m_pBmp->GetHeight() + 30);