aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-02-02 08:56:46 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-02-02 08:56:46 +0100
commit36bdc90b57051d2a9985bc0965062885b22e08ea (patch)
tree5d1f0f784261724ec24fe727948b33f6a2d5dd9a /src/MainWindow.cpp
parente5f2b524b4ca055803105995ffa37a7a1ecd5352 (diff)
Update about
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 9bbdd00..00e375d 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -287,9 +287,10 @@ TabInfos* MainWindow::NewGame(std::shared_ptr<Game> game) {
void MainWindow::ShowAbout(){
DialogAbout *dialog=new DialogAbout(this);
- wxRichTextCtrl *t=dialog->info_richtext;
+ dialog->ochess_icon->SetBitmap(LoadPNG("ochess",wxSize(80,80)));
// Populate info:
+ wxRichTextCtrl *t=dialog->info_richtext;
wxFont font(wxFontInfo(12));
t->SetFont(font);
t->BeginAlignment(wxTEXT_ALIGNMENT_CENTRE);
@@ -299,7 +300,7 @@ void MainWindow::ShowAbout(){
t->EndFontSize();
t->Newline();
t->EndBold();
- t->WriteText(wxT("An open source software for chess games analysis and database management."));
+ t->WriteText(wxT("An open source software for chess games analysis and games databases management."));
t->Newline();
t->Newline();
t->BeginFontSize(8);