Re: wxFont defaults and other wxEuphoria errors
- Posted by mattlewis (admin) Jul 21, 2013
- 1736 views
ArthurCrump said...
Using wxEuphoria version 16 the following two-line program produces an error file, shown below the program, which reveals more than one problem.
include wxeu/wxeud.e constant F = create(wxFont,{12,wxDEFAULT,wxNORMAL,wxNORMAL})
The documentation is wrong. The only optional parameter is the encoding. In the wxWidgets constructor it defaults to an empty string (at which point ~wxWidgets will choose a face name based on the family), but the wxEuphoria version requires a value.
Matt