[wx-dev] gtk/settings.cpp GetFont() problem
Paul Cornett
pc-wx at bullseye.com
Tue Jul 24 11:34:01 PDT 2007
Marcin Wojdyr wrote:
> Here is two-line patch that shows the problem (I compiled it with
> -O0):
>
> --- tests/geometry/rect.cpp (revision 47692)
> +++ tests/geometry/rect.cpp (working copy)
> @@ -78,8 +78,10 @@
> R(0, 0, 20, 20).CentreIn(R(0, 0, 10, 10)));
> }
>
> +#include <wx/font.h>
> void RectTestCase::InflateDeflate()
> {
> + (void) *wxNORMAL_FONT;
You have to initialize the GUI before you can use GUI objects.
More information about the wx-dev
mailing list