I have quite a simple piece of code to set a three times bigger font for my wxFrame:
MainWin::MainWin()
: wxFrame(NULL, wxID_ANY,wxEmptyString,
wxPoint(20,10), wxSize(1000, 600),
wxDEFAULT_FRAME_STYLE)
{
wxFont font=GetFont();
font=font.Scale(3.0);
bool done=SetFont(font);
wxMessageBox("test", "test", 5, this);
My problem: it does not work! Neither the wxMessageBox nor the title bar of the wxFrame nor any other children make use of this bigger font.
So...any idea what is wrong here?
Thanks!
wxMessageBox()does probably manage its own font styles. - Scheff's CatwxMessageBox(), I found Custom font for wxMessageBox in the wxWidgets Discussion Forum. It seems, there is no modifiable font at all forwxMessageBox(). - Scheff's Cat