diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-24 10:26:05 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-24 10:26:05 +0100 |
| commit | 273610cb0f848fd99f9b9769f0d60b6e2df590ed (patch) | |
| tree | e11d9887c9263a935f6ae83b1cf73e5e78236eda /src/ochess.cpp | |
| parent | 3b7cc1c847f4bc8ec900b01a2bcee0cb90d4bd39 (diff) | |
Update tab manager
Diffstat (limited to 'src/ochess.cpp')
| -rw-r--r-- | src/ochess.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ochess.cpp b/src/ochess.cpp index 3510568..82d88be 100644 --- a/src/ochess.cpp +++ b/src/ochess.cpp @@ -16,3 +16,9 @@ void Abort(std::string msg) { dial->ShowModal(); wxLogFatalError(wxString(msg)); } + +long TabInfos::tab_count=0; +void TabInfos::Link(TabInfos *tab){ + this->is_linked=true; + this->linked_id=tab->id; +}
\ No newline at end of file |
