forked from cheng/wallet
d59729f396
fixed it by looking for funny things that deviated from the sameples, and doing various recommended safe things, and found a few sql errors, and one by one the crashes went away. The new wxWidgets just seems less tolerant of little careless stuff that is not right.
20 lines
353 B
C++
20 lines
353 B
C++
#pragma once
|
|
|
|
class Frame : public wxFrame
|
|
{
|
|
public:
|
|
Frame();
|
|
virtual ~Frame();
|
|
|
|
// callbacks
|
|
void OnQuit(wxCommandEvent& event);
|
|
void OnAbout(wxCommandEvent& event);
|
|
void OnDelete(wxCommandEvent& event);
|
|
void StorePositionToConfig(void);
|
|
void RestorePositionFromConfig(const wxSize&);
|
|
|
|
private:
|
|
wxTextCtrl* m_text;
|
|
wxCheckBox* m_check;
|
|
};
|