NIREP

page.cpp

Go to the documentation of this file.
00001 
00002 // Name:        panel.cpp
00003 // Purpose:     
00004 // Author:      James Harris II
00005 // Modified by: 
00006 // Created:     23/03/2008 18:57:59
00007 // RCS-ID:      
00008 // Copyright:   All rights reserved
00009 // Licence:     
00011 
00012 // For compilers that support precompilation, includes "wx/wx.h".
00013 #include "wx/wxprec.h"
00014 
00015 #ifdef __BORLANDC__
00016 #pragma hdrstop
00017 #endif
00018 
00019 #ifndef WX_PRECOMP
00020 #include "wx/wx.h"
00021 #endif
00022 
00025 
00026 #include "page.h"
00027 
00030 
00031 
00036 IMPLEMENT_DYNAMIC_CLASS( page, wxPanel )
00037 
00038 
00039 
00043 BEGIN_EVENT_TABLE( page, wxPanel )
00044 
00047 
00048 END_EVENT_TABLE()
00049 
00050 
00055 page::page()
00056 {
00057     Init();
00058 }
00059 
00060 page::page(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
00061 {
00062     Init();
00063     Create(parent, id, pos, size, style);
00064 }
00065 
00066 
00071 bool page::Create(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
00072 {
00074     wxPanel::Create(parent, id, pos, size, style);
00075     CreateControls();
00077     return true;
00078 }
00079 
00080 
00084 page::~page()
00085 {
00088 }
00089 
00090 
00095 void page::Init()
00096 {
00099 }
00100 
00101 
00106 void page::CreateControls()
00107 {    
00110 }
00111 
00112 
00117 bool page::ShowToolTips()
00118 {
00119     return true;
00120 }
00121 
00126 wxBitmap page::GetBitmapResource( const wxString& name )
00127 {
00128     // Bitmap retrieval
00130     wxUnusedVar(name);
00131     return wxNullBitmap;
00133 }
00134 
00139 wxIcon page::GetIconResource( const wxString& name )
00140 {
00141     // Icon retrieval
00143     wxUnusedVar(name);
00144     return wxNullIcon;
00146 }
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines