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:
parent
5985c07ce0
commit
eb3efe0d4b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user