|
wxMaxima
|
Tests for HelpBrowser::HasContent() and ShowStartPageIfEmpty(). More...
#include <wx/app.h>#include <wx/frame.h>#include <wx/log.h>#include "sidebars/HelpBrowser.h"#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
Tests for HelpBrowser::HasContent() and ShowStartPageIfEmpty().
The help sidebar creates its browser only when something asks for help, so until then it is an empty panel. wxMaximaFrame therefore hides it at startup, and if the user opens it by hand before asking for help it shows the manual (ShowStartPageIfEmpty()) instead of staying empty.