git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-10-11 01:20:24 +00:00
parent 983736252c
commit f4cf4fdab2
2 changed files with 12 additions and 8 deletions

View File

@ -1,5 +1,5 @@
//////////////////////////////////////////////////////////////////////////////
// File: app.cpp
// File: stctest.cpp
// Purpose: STC test application
// Maintainer: Otto Wyss
// Created: 2003-09-01
@ -191,7 +191,7 @@ IMPLEMENT_APP (App)
bool App::OnInit () {
wxInitAllImageHandlers();
// set application and vendor name
SetAppName (APP_NAME);
SetVendorName (APP_VENDOR);
@ -378,8 +378,10 @@ void AppFrame::OnFileClose (wxCommandEvent &WXUNUSED(event)) {
return;
}
}
Destroy();
}
m_edit->SetFilename (wxEmptyString);
m_edit->ClearAll();
m_edit->SetSavePoint();
}
// properties event handlers
@ -641,7 +643,7 @@ AppAbout::AppAbout (wxWindow *parent,
SetSizerAndFit (totalpane);
CenterOnScreen();
CenterOnScreen();
ShowModal();
}

View File

@ -1,5 +1,5 @@
//////////////////////////////////////////////////////////////////////////////
// File: app.cpp
// File: stctest.cpp
// Purpose: STC test application
// Maintainer: Otto Wyss
// Created: 2003-09-01
@ -191,7 +191,7 @@ IMPLEMENT_APP (App)
bool App::OnInit () {
wxInitAllImageHandlers();
// set application and vendor name
SetAppName (APP_NAME);
SetVendorName (APP_VENDOR);
@ -378,8 +378,10 @@ void AppFrame::OnFileClose (wxCommandEvent &WXUNUSED(event)) {
return;
}
}
Destroy();
}
m_edit->SetFilename (wxEmptyString);
m_edit->ClearAll();
m_edit->SetSavePoint();
}
// properties event handlers
@ -641,7 +643,7 @@ AppAbout::AppAbout (wxWindow *parent,
SetSizerAndFit (totalpane);
CenterOnScreen();
CenterOnScreen();
ShowModal();
}