Skip to content

Commit

Permalink
Cleanup in TobyIDEFrame::openFileImpl().
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 28, 2007
1 parent 2fd9d7a commit 0321800
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/toby_wxwidgets.cpp
Expand Up @@ -1470,15 +1470,11 @@ char *TobyIDEFrame::getProgramImpl()

void TobyIDEFrame::openFileImpl(char *prog)
{
// !!! FIXME: set filename in titlebar.
textCtrl->ChangeValue(wxString(prog, wxConvUTF8));
this->textCtrl->ChangeValue(wxString(prog, wxConvUTF8));
delete[] prog; // don't need this anymore.
this->toggleWidgetsRunnable(true);
this->textCtrl->SetFocus();

// !!! FIXME: remove this.
//TOBY_clearAllBreakpoints();
//printf("test breakpoint: %d\n", TOBY_addBreakpointLine(18));
TOBY_clearAllBreakpoints();
} // TobyIDEFrame::openFileImpl


Expand Down

0 comments on commit 0321800

Please sign in to comment.