Skip to content

Commit

Permalink
Do not set own background colour for notebook and statusbar
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiolo committed Nov 4, 2024
1 parent 8653e07 commit 867bc77
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/myframe.h
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,6 @@ struct MyFrame : wxFrame {
ConstructToolBar();

wxStatusBar *sb = CreateStatusBar(4);
sb->SetOwnBackgroundColour(toolbgcol);
SetStatusBarPane(0);
SetDPIAwareStatusWidths();
sb->Show(sys->showstatusbar);
Expand All @@ -677,7 +676,6 @@ struct MyFrame : wxFrame {
wxAUI_NB_TAB_MOVE | wxAUI_NB_TAB_SPLIT | wxAUI_NB_SCROLL_BUTTONS |
wxAUI_NB_WINDOWLIST_BUTTON | wxAUI_NB_CLOSE_ON_ALL_TABS |
(lefttabs ? wxAUI_NB_BOTTOM : wxAUI_NB_TOP));
nb->SetOwnBackgroundColour(toolbgcol);

int display_id = wxDisplay::GetFromWindow(this);
wxRect disprect = wxDisplay(display_id == wxNOT_FOUND ? 0 : display_id).GetClientArea();
Expand Down

0 comments on commit 867bc77

Please sign in to comment.