forked from cheng/wallet
c65f2fbf6e
fixed bug in the position of the inserted name that happened with names identical except for capitalization.
25 lines
642 B
C++
25 lines
642 B
C++
#pragma once
|
|
class display_wallet : public wxPanel
|
|
{
|
|
public:
|
|
display_wallet(wxWindow*, wxFileName&);
|
|
~display_wallet();
|
|
private:
|
|
struct cleanup;
|
|
typedef MenuLink<display_wallet> MenuLink;
|
|
ro::dbconnect m_db;
|
|
sql_read_from_misc m_read_from_misc;
|
|
ro::sql m_read_names_and_keys;
|
|
sql_insert_name m_insert_name;
|
|
ro::sql m_find_position;
|
|
|
|
ristretto255::CMasterSecret m_MasterSecret;
|
|
wxBoxSizer* m_lSizer;
|
|
wxBoxSizer* m_rSizer;
|
|
void close_menu_event_handler(wxCommandEvent&);
|
|
void add_name_event_handler(wxCommandEvent&);
|
|
void OnClose(wxCloseEvent& event);
|
|
wxMenuTracker m_DisplayWalletEditMenu;
|
|
void refresh_from_database();
|
|
};
|