diff options
Diffstat (limited to 'src/game_tab/GameTab.hpp')
| -rw-r--r-- | src/game_tab/GameTab.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game_tab/GameTab.hpp b/src/game_tab/GameTab.hpp index 7686f12..d013266 100644 --- a/src/game_tab/GameTab.hpp +++ b/src/game_tab/GameTab.hpp @@ -13,7 +13,6 @@ wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); wxDECLARE_EVENT(GAME_CHANGE, wxCommandEvent); - class GameTab : public wxPanel, public TabInfos { EditorPanel *editor_panel; BoardPanel *board_panel; @@ -21,8 +20,10 @@ class GameTab : public wxPanel, public TabInfos { void RefreshLabel(); void OnRefreshTabTitle(wxCommandEvent &event); void OnGameChange(wxCommandEvent &event); + public: GameTab(wxFrame *parent, Game *game); void ApplyPreferences(); - + void *GetGame() { return (game); } + void *GetBase() { return (NULL); }; }; |
