aboutsummaryrefslogtreecommitdiff
path: root/src/preferences/BoardPrefs.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-28 13:02:27 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-28 13:02:27 +0100
commit7178f18ab88bcc93bfbf2019adf53d2f60d8fa20 (patch)
treecdbe28d8de4e0774885779a85f7e8c3b7e059f30 /src/preferences/BoardPrefs.hpp
parentff6b1980c93140db2143b5dcad27f5cdc946632b (diff)
Cleaning GUI files
Diffstat (limited to 'src/preferences/BoardPrefs.hpp')
-rw-r--r--src/preferences/BoardPrefs.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/preferences/BoardPrefs.hpp b/src/preferences/BoardPrefs.hpp
index eff3b58..e0672b0 100644
--- a/src/preferences/BoardPrefs.hpp
+++ b/src/preferences/BoardPrefs.hpp
@@ -1,4 +1,3 @@
-#include "BoardPrefsPanelBF.h"
#include "game_tab/board/BoardCanvas.hpp"
#include "ochess.hpp"
#include <wx/combobox.h>
@@ -8,13 +7,13 @@
#include <wx/spinctrl.h>
#include <wx/stdpaths.h>
-class BoardPrefsPanel : public BoardPrefsPanelBF {
+class BoardPrefsPanel : public PrefsBoard {
BoardCanvas *real_board_canvas;
wxFileName pieces_path;
wxFileName squares_path;
public:
- BoardPrefsPanel(wxWindow *parent) : BoardPrefsPanelBF(parent) {
+ BoardPrefsPanel(wxWindow *parent) : PrefsBoard(parent) {
wxBoxSizer *sizer = new wxBoxSizer(wxHORIZONTAL);
real_board_canvas = new BoardCanvas((wxFrame *)board_canvas, 40, true);
sizer->Add(real_board_canvas, 1, wxEXPAND, 5);