Re: wxFont defaults and other wxEuphoria errors

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu