title: Only last wxStaticBitmap is showing
body: <p>The same image is meant to be shown in different locations but only the second one is shown, why?</p>
  <pre class="lang-cpp prettyprint-override"><code>void AppFrame::OnButtonClicked(wxCommandEvent&amp; evt) {
  
      Tiles* knots = new Tiles(panel, 1);
      string tile = knots-&gt;firstTile();
      ImagePanel* drawPane = new ImagePanel(panel, tile, wxBITMAP_TYPE_PNG);
  
      wxStaticBitmap* image1 = new wxStaticBitmap(panel, wxID_ANY, drawPane-&gt;getImage(),wxPoint(Background::defaultStartX, Background::defaultStartY), wxSize(100, 100));
    
      wxStaticBitmap* image2 = new wxStaticBitmap(panel, wxID_ANY, drawPane-&gt;getImage(),wxPoint(Background::defaultStartX+100, Background::defaultStartY), wxSize(100, 100));
  
  }
  </code></pre>