Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxHIDE_READONLY undeclared
MortenMacFly:
--- Quote from: Jabber on August 08, 2006, 12:07:07 am ---Hm, sounds like a bug in wxMSW then. Did someone file a bug on their tracker?
--- End quote ---
No, not yet. Will you do this?
BTW: I'm using wxGTK on SuSE, too but I don't receive this erros and in fact since these changes have been done (and many linux builds later) you are the first one complaining. What does wx-config --cflags output on your machine? Do you use this at all?
With regards, Morten
Jabber:
--- Quote ---No, not yet. Will you do this?
--- End quote ---
I'd prefer that someone who actually has seen this bug would do it. :D
And perhaps I wasn't clear enough about this, but I'm compiling wx with --disable-compat24. Doing so leads to WXWIN_COMPATIBILITY_2_4 being 0, and therefore wxHIDE_READONLY being undefined. I'm doing this to keep my own software ready for the next wx branch. I guess you guys know the policy; in 2.7 and the future 2.8 all occurences in WXWIN_COMPATIBILITY_2_4 guards are automatically removed from the wx sources.
A way around this would be to move all occurences of wxHIDE_READONLY in #if guards, like
--- Code: --- wxEmptyString,
Manager::Get()->GetMacrosManager()->ReplaceMacros(defaultFile),
filter,
wxOPEN
#if WXWIN_COMPATIBILITY_2_4
| wxHIDE_READONLY
#endif
);
PlaceWindow(&dlg);
--- End code ---
A bit ugly, but would work, I guess...
Jabber
Navigation
[0] Message Index
[*] Previous page
Go to full version