wallet/samples/config/frame.h
Cheng d59729f396
Never really figured out why my code was breaking
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.
2023-10-18 20:23:56 +10:00

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;
};