aboutsummaryrefslogtreecommitdiff
path: root/src/base_tab/BasePanelBF.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-25 11:13:35 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-25 11:13:35 +0100
commit64dec753e7a6594a8b68f7978773e80353d8e869 (patch)
treece8b862fde15c51b8b981f1d628f0d43cc2bfdc7 /src/base_tab/BasePanelBF.cpp
parent6f866f55ee39c5f92c600ab33e787f628b00c1a4 (diff)
Enable PGN save (slow for now so do not use it).
Diffstat (limited to 'src/base_tab/BasePanelBF.cpp')
-rw-r--r--src/base_tab/BasePanelBF.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base_tab/BasePanelBF.cpp b/src/base_tab/BasePanelBF.cpp
index e179ec0..4c25cf9 100644
--- a/src/base_tab/BasePanelBF.cpp
+++ b/src/base_tab/BasePanelBF.cpp
@@ -21,7 +21,7 @@ BasePanelBF::BasePanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, c
current_base->Wrap( -1 );
top_sizer->Add( current_base, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
- save_button = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
+ save_button = new wxButton( this, ID_SAVE_BUTTON, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
top_sizer->Add( save_button, 0, wxALL, 5 );
export_button = new wxButton( this, wxID_ANY, wxT("Export"), wxDefaultPosition, wxDefaultSize, 0 );
@@ -51,7 +51,7 @@ BasePanelBF::BasePanelBF( wxWindow* parent, wxWindowID id, const wxPoint& pos, c
bottom_sizer->Add( 0, 0, 1, wxEXPAND, 5 );
- delete_button = new wxButton( this, wxID_ANY, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 );
+ delete_button = new wxButton( this, ID_DELETE_BUTTON, wxT("Delete selection"), wxDefaultPosition, wxDefaultSize, 0 );
bottom_sizer->Add( delete_button, 0, wxALL, 5 );