patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -394,9 +394,9 @@ bool MyApp::OnInit()
|
||||
{
|
||||
wxString filename;
|
||||
filename.Printf(wxT("%s%d.png"), (const wxChar*)rootName, i);
|
||||
/* For some reason under wxX11, the 2nd LoadFile in this loop fails, with
|
||||
a BadMatch inside CreateFromImage (inside ConvertToBitmap). This happens even if you copy
|
||||
the first file over the second file. */
|
||||
/* For some reason under wxX11, the 2nd LoadFile in this loop fails, with
|
||||
a BadMatch inside CreateFromImage (inside ConvertToBitmap). This happens even if you copy
|
||||
the first file over the second file. */
|
||||
if (image.LoadFile(filename, wxBITMAP_TYPE_PNG))
|
||||
{
|
||||
DragShape* newShape = new DragShape(image.ConvertToBitmap());
|
||||
|
Reference in New Issue
Block a user