SetTitle (*g_appname);
SetBackgroundColour (wxT("WHITE"));
- // about box shown for 1 seconds
- AppAbout dlg(this, 1000);
-
// create menu
m_menuBar = new wxMenuBar;
CreateMenu ();
m_edit->SetFocus();
FileOpen (wxT("stctest.cpp"));
- m_edit->SetSelection(0,0);
}
AppFrame::~AppFrame () {
{
wxFileName w(fname); w.Normalize(); fname = w.GetFullPath();
m_edit->LoadFile (fname);
+ m_edit->SelectNone();
}
wxRect AppFrame::DeterminePrintSize () {