wxNotebook: Background Colour does not show
|Reported by:||BarrRobot||Owned by:|
The Background Colour when set to a solid colour (at least) does not show on the notebook background, but it is inherited and shown on child pages.
Version 2.8.9 is also affected.
OS: Windows XP SP3, Windows 7 X64 (at least: believed Vista also)
Code to demonstrate (using wxDev-C++ IDE):
GUI Items Creation Start
WxPanel1 = new wxPanel(this, ID_WXPANEL1, wxPoint(10, 9), wxSize(282, 321));
WxNotebook1 = new wxNotebook(WxPanel1, ID_WXNOTEBOOK1, wxPoint(15, 22), wxSize(245, 189), wxNB_DEFAULT);
WxNoteBookPage1 = new wxPanel(WxNotebook1, ID_WXNOTEBOOKPAGE1, wxPoint(4, 24), wxSize(237, 161));
WxNoteBookPage2 = new wxPanel(WxNotebook1, ID_WXNOTEBOOKPAGE2, wxPoint(4, 24), wxSize(237, 161));
GUI Items Creation End
The above shows a default Grey notebook background upon which are two pages both with an inherited blue background. I believe the Notebook background should be blue. The cyan background of the Panel is not inherited (which I believe to be correct).
This has been discussed at http://forums.wxwidgets.org/viewtopic.php?f=28&t=32923#p137208
That thread also has screenshots demonstrating the issue.
Change History (12)
Changed 4 years ago by RedTide
comment:3 Changed 4 years ago by vadz
- Milestone 2.9.4 deleted
- Patch unset
- Status changed from new to infoneeded_new
comment:6 follow-up: ↓ 7 Changed 4 years ago by vadz
- Resolution set to wontfix
- Status changed from new to closed