www.pudn.com > Phone.rar > myframe.cpp
/////////////////////////////////////////////////////////////////////////////
// Name: myframe.cpp
// Purpose:
// Author:
// Modified by:
// Created: 18/05/2007 09:35:23
// RCS-ID:
// Copyright:
// Licence:
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "myframe.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
////@begin includes
////@end includes
#include "myframe.h"
////@begin XPM images
////@end XPM images
/*!
* MyFrame type definition
*/
IMPLEMENT_CLASS( MyFrame, wxFrame )
/*!
* MyFrame event table definition
*/
BEGIN_EVENT_TABLE( MyFrame, wxFrame )
////@begin MyFrame event table entries
////@end MyFrame event table entries
END_EVENT_TABLE()
/*!
* MyFrame constructors
*/
MyFrame::MyFrame()
{
Init();
}
MyFrame::MyFrame( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
Init();
Create( parent, id, caption, pos, size, style );
}
/*!
* MyFrame creator
*/
bool MyFrame::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
////@begin MyFrame creation
wxFrame::Create( parent, id, caption, pos, size, style );
CreateControls();
Centre();
////@end MyFrame creation
return true;
}
/*!
* MyFrame destructor
*/
MyFrame::~MyFrame()
{
////@begin MyFrame destruction
////@end MyFrame destruction
}
/*!
* Member initialisation
*/
void MyFrame::Init()
{
////@begin MyFrame member initialisation
////@end MyFrame member initialisation
}
/*!
* Control creation for MyFrame
*/
void MyFrame::CreateControls()
{
////@begin MyFrame content construction
MyFrame* itemFrame1 = this;
////@end MyFrame content construction
}
/*!
* Should we show tooltips?
*/
bool MyFrame::ShowToolTips()
{
return true;
}
/*!
* Get bitmap resources
*/
wxBitmap MyFrame::GetBitmapResource( const wxString& name )
{
// Bitmap retrieval
////@begin MyFrame bitmap retrieval
wxUnusedVar(name);
return wxNullBitmap;
////@end MyFrame bitmap retrieval
}
/*!
* Get icon resources
*/
wxIcon MyFrame::GetIconResource( const wxString& name )
{
// Icon retrieval
////@begin MyFrame icon retrieval
wxUnusedVar(name);
return wxNullIcon;
////@end MyFrame icon retrieval
}