Patch #821454
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
983736252c
commit
f4cf4fdab2
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user