lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] help implementation


From: Vaclav Slavik
Subject: Re: [lmi] help implementation
Date: Tue, 26 Feb 2008 20:25:47 +0100
User-agent: KMail/1.9.9

Greg Chicares wrote:
> I see the [?] button when I run lmi and do
>   File | New | Illustration
> So far so good. But if I build with the patch below, then do
>   File | New | Illustration
> again, the [?] button does not appear on the notebook dialog.
>
> The patch suppresses an lmi workaround that seems necessary for
> the [?] button to appear, as documented in 'mvc_controller.cpp':
>
> // WX !! wxDIALOG_EX_CONTEXTHELP is unknown to wxxrc.

This is fixed for over two years now, so it's OK to remove the 
workaround.

> @@ -2791,6 +2791,7 @@
>      <title>Let me illustrate...</title>
>      <style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU</style>
>      <exstyle>wxWS_EX_VALIDATE_RECURSIVELY</exstyle>
> +    <exstyle>wxDIALOG_EX_CONTEXTHELP</exstyle>
>  <!-- WX !! This style flag is unknown to wxxrc:
>      <exstyle>wxDIALOG_EX_CONTEXTHELP</exstyle>
>  -->

This is where the problem is: only one <exstyle> element is looked at, 
it should read
<exstyle>
  wxWS_EX_VALIDATE_RECURSIVELY|wxDIALOG_EX_CONTEXTHELP
</exstyle>
Sorry, I wrote the instructions assuming you don't use <exstyle>, 
otherwise it has to be added to the |-delimined list of styles (the 
syntax is same as for <style>).


Regards,
Vaclav

-- 
PGP key: 0x465264C9, available from http://pgp.mit.edu/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]