//////////////////////////////////////////////////////////////////////////////
-// File: app.cpp
+// File: stctest.cpp
// Purpose: STC test application
// Maintainer: Otto Wyss
// Created: 2003-09-01
bool App::OnInit () {
wxInitAllImageHandlers();
-
+
// set application and vendor name
SetAppName (APP_NAME);
SetVendorName (APP_VENDOR);
END_EVENT_TABLE ()
AppFrame::AppFrame (const wxString &title)
- : wxFrame ((wxFrame *)NULL, -1, title, wxDefaultPosition, wxDefaultSize,
+ : wxFrame ((wxFrame *)NULL, -1, title, wxDefaultPosition, wxSize(750,550),
wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE) {
// intitialize important variables
return;
}
}
- Destroy();
}
+ m_edit->SetFilename (wxEmptyString);
+ m_edit->ClearAll();
+ m_edit->SetSavePoint();
}
// properties event handlers
SetSizerAndFit (totalpane);
- CenterOnScreen();
+ CenterOnScreen();
ShowModal();
}