Mercurial > mercurial > hgweb_mover2.cgi
comparison src/myframe.cpp @ 10:1fda3a06c39b
file name arrange.
author | pyon@macmini |
---|---|
date | Fri, 21 Oct 2011 07:58:23 +0900 |
parents | dfa5cae8c992 |
children | 9b0840b0be7e |
comparison
equal
deleted
inserted
replaced
9:dfa5cae8c992 | 10:1fda3a06c39b |
---|---|
1 // Filename : myframe.cpp | 1 // Filename : myframe.cpp |
2 // Last Change: 20-Oct-2011. | 2 // Last Change: 21-Oct-2011. |
3 // | 3 // |
4 | 4 |
5 #include "main.h" | 5 #include "main.h" |
6 #include "myframe.h" | 6 #include "myframe.h" |
7 #include "param.h" | 7 #include "param.h" |
8 #include "dndfile.h" | 8 #include "dndfile.h" |
9 #include "myutils.h" | 9 #include "marksheet.h" |
10 #include "cache.h" | |
10 | 11 |
11 // resources | 12 // resources |
12 // the application icon (under Windows and OS/2 it is in resources and even | 13 // the application icon (under Windows and OS/2 it is in resources and even |
13 // though we could still include the XPM here it would be unused) | 14 // though we could still include the XPM here it would be unused) |
14 #if !defined(__WXMSW__) && !defined(__WXPM__) | 15 #if !defined(__WXMSW__) && !defined(__WXPM__) |
15 #include "sample.xpm" | 16 #include "sample.xpm" |
16 #endif | 17 #endif |
17 | |
18 WX_DECLARE_HASH_MAP( wxString, Cache*, wxStringHash, wxStringEqual, CacheHash ); | |
19 | 18 |
20 ////////////////////////////////////////////////////////////////////////// | 19 ////////////////////////////////////////////////////////////////////////// |
21 // frame constructor | 20 // frame constructor |
22 MyFrame::MyFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) | 21 MyFrame::MyFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style ) |
23 { | 22 { |
167 m_statusBar->SetStatusWidths( WXSIZEOF(widths), widths ); | 166 m_statusBar->SetStatusWidths( WXSIZEOF(widths), widths ); |
168 m_statusBar->SetStatusText( wxEmptyString, 0 ); | 167 m_statusBar->SetStatusText( wxEmptyString, 0 ); |
169 | 168 |
170 this->Centre( wxBOTH ); | 169 this->Centre( wxBOTH ); |
171 | 170 |
172 CacheHash cache; | 171 Cache cache; |
173 } | 172 } |
174 | 173 |
175 // destructor | 174 // destructor |
176 MyFrame::~MyFrame() | 175 MyFrame::~MyFrame() |
177 { | 176 { |