// ----------------------------------------------------------------------------
// For compilers that support precompilation, includes "wx/wx.h".
// ----------------------------------------------------------------------------
// For compilers that support precompilation, includes "wx/wx.h".
// ----------------------------------------------------------------------------
// classes
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// classes
// ----------------------------------------------------------------------------
: wxFrame((wxFrame *)NULL, -1, "wxWindows menu sample",
wxDefaultPosition, wxSize(300, 200))
{
: wxFrame((wxFrame *)NULL, -1, "wxWindows menu sample",
wxDefaultPosition, wxSize(300, 200))
{
(void)wxMessageBox("wxWindows menu sample\n© 1999-2001 Vadim Zeitlin",
"About wxWindows menu sample",
wxICON_INFORMATION);
(void)wxMessageBox("wxWindows menu sample\n© 1999-2001 Vadim Zeitlin",
"About wxWindows menu sample",
wxICON_INFORMATION);
// leave a band below for popup menu testing
wxSize size = GetClientSize();
m_textctrl->SetSize(0, 0, size.x, (3*size.y)/4);
// leave a band below for popup menu testing
wxSize size = GetClientSize();
m_textctrl->SetSize(0, 0, size.x, (3*size.y)/4);